Ok, I fixed the problem (not sure yet why the file got broken though).
Step1: I created a new workspace and copied my source files and .idea
files excluding workspace.xml. Infact I deleted it before copying it to new workspace.
It worked! guess deleting and re-creating was the option