This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When object is created in transaction which is rolled back and then the new object (of different class) is created, it has incorrect meta object associated. Test case and logs attached (used model was Text.xml, but has been successfully tested with other models).
Created attachment 5759 [details] test case
Created attachment 5760 [details] log when first transaction is rolled back
Created attachment 5761 [details] log when first transaction is commited
Fixed in main trunk.
This needs to be fixed by invalidating used MOFIDs (not by flushing the handlers cache). I have removed the fix.
Fixed.