Sometimes this could be caused by memory card reading/writing problem. Just make sure that you format your cards in the camera and not with your computer.
If it only happened once, let it go, but if it happens again then a visit to the camera doctor could be the solution.
Best of luck.