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 57811 - [41cat] InvalidObjectException on JUnit test creation wizard
Summary: [41cat] InvalidObjectException on JUnit test creation wizard
Status: RESOLVED DUPLICATE of bug 64240
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 73679
  Show dependency tree
 
Reported: 2005-04-13 03:02 UTC by schwarcz
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (189.43 KB, text/plain)
2005-04-13 03:03 UTC, schwarcz
Details
project files (56.50 KB, application/x-compressed)
2005-04-13 03:15 UTC, schwarcz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schwarcz 2005-04-13 03:02:45 UTC
[ JDK VERSION : 1.5.0_02 ]

Attempted to use the wizard to create a new empty JUnit test.  wizard failed to complete with InvalidObjectException.


javax.jmi.reflect.InvalidObjectException: Object with MOFID C5A95384-A8AC-11D9-901E-D78E60B5AA77:0000000000000B42 no longer exists.
	at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:353)
	at org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48)
	at org.netbeans.mdr.handlers.InstanceHandler._handleGetR(InstanceHandler.java:103)
	at org.netbeans.jmi.javamodel.JavaPackage$Impl.super_getResources(Unknown Source)
	at org.netbeans.modules.javacore.jmiimpl.javamodel.JavaPackageImpl.getResources(JavaPackageImpl.java:89)
	at org.netbeans.jmi.javamodel.JavaPackage$Impl.getResources(Unknown Source)
	at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl._setPackageName(ResourceImpl.java:127)
	at org.netbeans.modules.javacore.scanning.JavaUpdater.makeIndex(JavaUpdater.java:169)
	at org.netbeans.modules.javacore.scanning.JavaUpdater.computeIndex(JavaUpdater.java:58)
Comment 1 schwarcz 2005-04-13 03:03:35 UTC
Created attachment 21590 [details]
IDE log
Comment 2 schwarcz 2005-04-13 03:13:58 UTC
This seems completely repeatable with this project.  Shutting down the IDE and
restarting makes no difference.  I'll therefore attached the project source code.
Comment 3 schwarcz 2005-04-13 03:15:24 UTC
Created attachment 21591 [details]
project files
Comment 4 Martin Matula 2005-04-14 08:18:51 UTC
Is this repeatable also when you delete var/cache/mdrstorage directory in your
NetBeans user directory before starting NetBeans?
Comment 5 Martin Matula 2005-04-14 08:31:01 UTC
I cannot reproduce this. Do you remember what you did before the IOEs started to
appear? (I can see more InvalidObjectExceptions in your log file - seems that
something got seriously broken in the metadata storage)
Comment 6 Jan Becicka 2006-05-05 13:29:44 UTC

*** This issue has been marked as a duplicate of 64240 ***
Comment 7 Quality Engineering 2007-09-20 09:58:36 UTC
Reorganization of java component