EE was installing repaired lift cylinder on a 750 John Deere trackhoe he positioned a ladder against the boom of the excavator, as the cylinder was lifted up and close enough for him to reach, the ladder started to slide along the boom of the excavator. He then lost his balance, fell & struck the rear bumper of the service truck resulting in pain to left shoulder & neck.