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 - RefObject created with incorrect meta object
Summary: RefObject created with incorrect meta object
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-15 15:01 UTC by Stepan Roh
Modified: 2002-08-21 10:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test case (3.30 KB, text/plain)
2002-05-15 15:02 UTC, Stepan Roh
Details
log when first transaction is rolled back (1.41 KB, text/plain)
2002-05-15 15:03 UTC, Stepan Roh
Details
log when first transaction is commited (1.41 KB, text/plain)
2002-05-15 15:03 UTC, Stepan Roh
Details

Note You need to log in before you can comment on or make changes to this bug.
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.