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.

Bug 23524

Summary: RefObject created with incorrect meta object
Product: java Reporter: Stepan Roh <rohs>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: test case
log when first transaction is rolled back
log when first transaction is commited

Description Stepan Roh 2002-05-15 15:01:18 UTC
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).
Comment 1 Stepan Roh 2002-05-15 15:02:02 UTC
Created attachment 5759 [details]
test case
Comment 2 Stepan Roh 2002-05-15 15:03:14 UTC
Created attachment 5760 [details]
log when first transaction is rolled back
Comment 3 Stepan Roh 2002-05-15 15:03:50 UTC
Created attachment 5761 [details]
log when first transaction is commited
Comment 4 Daniel Prusa 2002-08-01 17:41:28 UTC
Fixed in main trunk.
Comment 5 Martin Matula 2002-08-07 15:36:12 UTC
This needs to be fixed by invalidating used MOFIDs (not by 
flushing the handlers cache). I have removed the fix.
Comment 6 Daniel Prusa 2002-08-21 10:22:07 UTC
Fixed.