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 104334 - javax.jmi.reflect.InvalidObjectException: class: org.netbeans.jmi.javamodel.JavaEnum$Impl
Summary: javax.jmi.reflect.InvalidObjectException: class: org.netbeans.jmi.javamodel.J...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-19 00:25 UTC by michelbrode
Modified: 2010-09-23 09:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (550.74 KB, text/plain)
2007-05-19 00:33 UTC, michelbrode
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michelbrode 2007-05-19 00:25:22 UTC
javax.jmi.reflect.InvalidObjectException: Object with MOFID BCCDAA1B-EE8B-11DB-
8D93-A083E5D5AA77:0000000000007AF9 no longer exists, class: 
org.netbeans.jmi.javamodel.JavaEnum$Impl

I get an exception on startup as well when I try to Crtl-click on a class or 
variable name to jump to its declaration.

I also do not get all the "red-x" indicators letting me know that something I 
have written is incorrect.
Comment 1 michelbrode 2007-05-19 00:33:51 UTC
Created attachment 42560 [details]
messages.log
Comment 2 mikedilger 2007-06-10 02:06:10 UTC
I get the same error on startup, and it persists, multiple of them infact, along
with other informational exceptions.  Version 5.5 (but for me on Windows Vista
64bit)

This never used to happen so something has changed in my default project to
trigger this.   Some detail is added below.  I can open a new issue if this is
determined to be different.

When the error occurs, Menu options for compiling the file are greyed out, as
well as menu option for saving the file.  Luckily "save all" still works.

==>
javax.jmi.reflect.InvalidObjectException: Object with MOFID
92D51136-1311-11DC-902B-662560CAAA77:000000000000307E no longer exists, class:
org.netbeans.jmi.javamodel.JavaClass$Impl
	at
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:365)
	at org.netbeans.mdr.util.IOUtils.write(IOUtils.java:287)
	at org.netbeans.mdr.storagemodel.AttrCollection.write(AttrCollection.java:136)
	at org.netbeans.mdr.util.IOUtils.write(IOUtils.java:237)
	at org.netbeans.mdr.storagemodel.StorableObject.write(StorableObject.java:393)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.writeStreamable(BtreeDatabase.java:876)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.replaceRecord(BtreeDatabase.java:954)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.save(BtreeDatabase.java:527)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeDatabase.commitChanges(BtreeDatabase.java:447)
	at
org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeStorage.commitChanges(BtreeStorage.java:325)
	at org.netbeans.mdr.storagemodel.MdrStorage.save(MdrStorage.java:576)
	at org.netbeans.mdr.storagemodel.MdrStorage.commit(MdrStorage.java:547)
[catch] at org.netbeans.mdr.util.TransactionMutex.end(TransactionMutex.java:83)
	at org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:366)
	at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:255)
	at org.netbeans.mdr.NBMDRepositoryImpl.endTrans(NBMDRepositoryImpl.java:249)
	at
org.netbeans.modules.editor.java.NbJavaFoldManager.collectFoldUpdates(NbJavaFoldManager.java:348)
	at
org.netbeans.modules.editor.java.NbJavaFoldManager.updateFolds(NbJavaFoldManager.java:216)
	at
org.netbeans.modules.editor.java.NbJavaFoldManager.run(NbJavaFoldManager.java:199)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 3 David Strupl 2010-09-23 09:15:35 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.