Cause:
System shows this validation when period status is not defined for a particular period.
Suggestion: User should save the period status record after selecting the required period and selecting module for which the period status is to be defined. For Period status goto System->System setup-> Master->Period Status. After this the user can save the post validity record.