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 66692 - InvalidObjectException: Object was deleted in AnonClassTest
Summary: InvalidObjectException: Object was deleted in AnonClassTest
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: RANDOM, REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2005-10-13 10:59 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (2.15 KB, text/plain)
2005-10-13 11:00 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-10-13 10:59:01 UTC
[dev-20051012, JDK 1.5.0_05, automated test]

Following exception was thrown from automated test: 
org.netbeans.jmi.javamodel.codegen.AnonClassTest
Full stack trace attached.

javax.jmi.reflect.InvalidObjectException: Object was deleted.
at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.throwInvalidObject(MetadataElement.java:146)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:130)
at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:185)
Comment 1 Milan Kubec 2005-10-13 11:00:07 UTC
Created attachment 25904 [details]
exc stack trace
Comment 2 Pavel Flaska 2005-10-13 12:28:45 UTC
I saw this exception when I run javacore unit tests also, but it is not 100%
reproducible.
Comment 3 Tomas Hurka 2005-10-20 16:32:53 UTC
This is a regression caused by fix of issue #62719
Comment 4 Tomas Hurka 2005-10-20 20:38:36 UTC
Fixed in trunk.
Checking in jmiimpl/javamodel/NewClassExpressionImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/NewClassExpressionImpl.java,v
 <--  NewClassExpressionImpl.java
new revision: 1.11; previous revision: 1.10
done
Checking in parser/MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v 
<--  MDRParser.java
new revision: 1.90; previous revision: 1.89
done
Comment 5 Milan Kubec 2005-12-12 14:44:06 UTC
Haven't seen this in automated tests recently - verified.
Comment 6 Quality Engineering 2007-09-20 10:26:58 UTC
Reorganization of java component