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 87724 - Got a "javax.jmi.reflect.InvalidObjectException: Object with MOFID C701FAA6-6098-11DB-B622-D31B70ACAA77:0000000000000CEC no longer exists" when starting NB IDE 5.5 RC2.
Summary: Got a "javax.jmi.reflect.InvalidObjectException: Object with MOFID C701FAA6-6...
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: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 22:04 UTC by dvader666
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file. (67.36 KB, text/plain)
2006-10-21 22:08 UTC, dvader666
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dvader666 2006-10-21 22:04:51 UTC
I just started the IDE. Last time I shutdown, a project was still open, so 
after IDE started, usual classpath scanning executed and I noticed this 
exception fired. I'm using JDK 1.5.0_09-b01 (all WinXP patches up to date). 
Popup error message is telling me to attach "messages.log" file to this 
report, but I don't see how to attach it. Full stacktrace of the problem:

javax.jmi.reflect.InvalidObjectException: Object with MOFID C701FAA6-6098-11DB-
B622-D31B70ACAA77:0000000000000CEC no longer exists, class: 
org.netbeans.jmi.javamodel.JavaClass$Impl
	at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate
(BaseObjectHandler.java:365)
	at org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate
(InstanceHandler.java:54)
	at org.netbeans.mdr.handlers.InstanceHandler._handleGet
(InstanceHandler.java:199)
	at org.netbeans.jmi.javamodel.JavaClass$Impl.getName(Unknown Source)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.getSuperClass
(JavaClassImpl.java:334)
	at org.netbeans.jmi.javamodel.JavaClass$Impl.getSuperClass(Unknown 
Source)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ClassDefinitionImpl.isSubTypeOf
(ClassDefinitionImpl.java:518)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ClassDefinitionImpl.isSubTypeOf
(ClassDefinitionImpl.java:518)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ClassDefinitionImpl.isSubTypeOf
(ClassDefinitionImpl.java:492)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.isSubTypeOf
(JavaClassImpl.java:1162)
	at org.netbeans.modules.profiler.utils.MDRUtils.isInstanceOf
(MDRUtils.java:416)
	at org.netbeans.modules.profiler.j2ee.WebProjectUtils.isHttpServlet
(WebProjectUtils.java:554)
	at 
org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.isFileObjectSupporte
d(J2EEProjectTypeProfiler.java:167)
	at org.netbeans.modules.profiler.actions.AntActions$2.enable
(AntActions.java:133)
	at org.netbeans.modules.profiler.actions.FileSensitiveAction.refresh
(FileSensitiveAction.java:40)
[catch] at org.netbeans.modules.profiler.actions.ProjectSensitiveAction$1.run
(ProjectSensitiveAction.java:66)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Comment 1 dvader666 2006-10-21 22:05:34 UTC
Sorry. Found it (how to attach a file to the report).... =P

Comment 2 dvader666 2006-10-21 22:08:42 UTC
Created attachment 35442 [details]
messages.log file.
Comment 3 dvader666 2006-10-21 22:16:08 UTC
No error occurs the next time I start the IDE if I closed the project before 
shutting down.

When I load the project, I noticed this line in messages.log file:

Warning: use of system property netbeans.home in 
org.netbeans.modules.project.libraries.LibrariesStorage has been obsoleted in 
favor of InstalledFileLocator
Comment 4 Jan Becicka 2006-10-26 16:28:04 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 5 Quality Engineering 2007-09-20 09:56:09 UTC
Reorganization of java component