A solution of a thermal-shock problem of generalized thermoelasticity of a non-homogeneous isotropic hollow cylinder using a finite-element method is developed. The formulation is applied to the generalized thermoelasticity based on the Green and Naghdi (GN) theory of type II and type III by an appropriate choice of parameters. The problem has been solved numerically using a finite-element method. Numerical results for the distributions of displacement, temperature, radial stress, and hoop stress are represented graphically. The results indicate that the effects of non-homogeneity are very pronounced. The effects of non-homogeneity are presented with the two types of the Green and Naghdi theory.