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 79727 - javax.jmi.reflect.InvalidObjectException when fixing imports
Summary: javax.jmi.reflect.InvalidObjectException when fixing imports
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 17:39 UTC by gekkothelizard
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gekkothelizard 2006-07-04 17:39:17 UTC
When I try to make the IDE fix my imports in any source file it usually doesn't
do anything, just this error apears. I write usually becouse sometimes it fixes
the imports but mostly doesn't. The exception is exactly this:

javax.jmi.reflect.InvalidObjectException: Object with MOFID
E036BE23-9D87-11DA-B7C0-69536FFEAA77:0000000000004F9D no longer exists, class:
org.netbeans.jmi.javamodel.JavaClass$Impl
	at
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:359)
	at
org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHandler.java:48)
	at org.netbeans.mdr.handlers.InstanceHandler._handleGet(InstanceHandler.java:193)
	at org.netbeans.jmi.javamodel.JavaClass$Impl.getName(Unknown Source)
	at
org.netbeans.modules.editor.java.JavaFixAllImports.addAllNeededImports(JavaFixAllImports.java:250)
	at
org.netbeans.modules.editor.java.JavaFixAllImports$2.run(JavaFixAllImports.java:81)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Jiri Prox 2006-07-07 11:45:37 UTC
Can you reproduce it with fresh userdir?
Comment 2 gekkothelizard 2006-07-09 17:05:55 UTC
I'm not sure, becouse I've since noticed that I'm getting this error very
freqently at various places in the IDE, so I think something may be really wrong
here. I will reinstall it and post here if the problem persists.
Comment 3 Jan Becicka 2006-10-26 16:26:19 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 4 Quality Engineering 2007-09-20 09:57:46 UTC
Reorganization of java component