Dexadrine, thank you for your reply. It is exactly the same problem that you have. I turned autoSave off and all was ok.
It is however strange because the method was used also on rc2 and everything was fine. More: I wrote it in rc2 to modify a search function from Servoy 2 and it worked perfectly!