I am developing new xforms and modifying the existing ones, for some forms a user can fill information and submit the form successfully but when a user wants to reopen a submitted form in order to edit information, a form will not display any information, then a user is supposed to fill all other information in the form in order to edit a piece of information. After filling the same form for the second time it will display information whenever you open.
If it is needed I will paste a link of entire log @dkayiwa
Three forms out of 5 have the same problem especially short forms which contains few information. When I was using openmrs 1.11.8 it was working okay but started to show this problem after upgrading to openmrs 2.0.6. It is easy to reproduce.