I had the same problem. What worked for me was this:
- Empty the nailer
- Put in a fresh battery and turn it on
- Pull back the slide that keeps the nails in with one hand
- Depress the safety nose with the other hand, make sure to keep your fingers clear
- Dry fire the nail gun
The piston should shoot out and then back in and the gun should be back to normal