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.
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)
Can you reproduce it with fresh userdir?
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.
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component