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 74463 - fix import throws javax.jmi.reflect.InvalidObjectException
Summary: fix import throws javax.jmi.reflect.InvalidObjectException
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 21:25 UTC by dongkun
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (212.07 KB, text/plain)
2006-04-05 21:27 UTC, dongkun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dongkun 2006-04-05 21:25:48 UTC
I am going through the PaintApp tutorial, and trying to use the Alt+Shift+F key
to fix the imports. Unfortunately, i get the following exception in the
messages.log:

*********** Exception occurred ************ at 2:03 PM on Apr 5, 2006
javax.jmi.reflect.InvalidObjectException: Object with MOFID
B068C59D-B90C-11DA-AE53-D5581329AA77:0000000000003D24 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)

This happens whether I use the short cut keys or pick the Source -> Fix Imports
menu item.

I have updated the netbeans ide 5.0 today, but that does not seem to help.
Comment 1 dongkun 2006-04-05 21:27:13 UTC
Created attachment 29646 [details]
messages.log
Comment 2 Jiri Prox 2006-04-10 13:53:49 UTC
Is it reproducible also with new userdir? (You can use -userdir switch to
specify the new one)
Comment 3 Jiri Prox 2006-04-11 08:41:21 UTC
Info from reporter send by mail:
Not reproducible with fresh userdir
Comment 4 Jan Becicka 2006-05-04 14:45:14 UTC
Dane, please take a look at it. Thanks
Comment 5 Jan Becicka 2006-10-26 16:27:47 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 6 Quality Engineering 2007-09-20 09:54:38 UTC
Reorganization of java component