** I have a GE dishwasher [model GSD2030Z05WW
] and it is 4 years old. It has worked great til now. It runs but it does not spray water. **
** the [dishwasher] is not filling with any water. **
Personally I would check to make sure the water fill valve on the dishwasher is getting power when the dishwasher should be filling. If it was getting power but still not filling, then I'd move onto the water supply line and making sure the valve was opening when powered.
That should be able to be accomplished without removing the appliance from its enclosure. Be very careful of electricity when working on a live appliance though !
You can read about the water valves used on appliances at the following link:
If the water fill valve was not getting power, than the float switch, timer operation and wiring circuit to the water valve would need to be looked into.