I have found the solution for this issue.
Solution:
Save your files before check-in and then initiate check in. This issue
will not come.
Root Cause:
It seems to be a bug in the dialog (Not sure), but certainly error
message is confusing to user.
Hope this solution will resolve your issue.