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.
Steps to reproduce: - open the attached file File|Open File -> The exception appeared and stacke trace in system cosole appeared --- tail of exception --- javax.jmi.reflect.InvalidObjectException: Object with MOFID A7D97544-EF52-11D8-AAC4-24A33B95AA77:000000000000104D no longer exists. at org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandler.java:322)
Created attachment 16826 [details] Java file
Created attachment 16827 [details] InvalidObjectException
Created attachment 16828 [details] Stack trace
What build were you running with?
I forgot. The build is 200408151800.
In your file, there is not opening /* comment at the beginning. It leads to situation, that scanning of file does not register the class to index. When you start editing of the file, MDRParser is able to recover from the error state but he does not get the classindex item. Then the class is added (reason of exception). Now, the information is logged only to messages.log, not to bother user with this. (it is not critical problem, the state is recovered.) Note: in dev builds, the stacktrace is also printed to console.
In current builds, you should get only this exception in log and stacktrace, no exception in dialog or other window. Marking is WORKSFORME, if you are able to reproduce any incorrect behaviour, please, reopen it. [catch]java.lang.Exception: Class not found in index: Main. Recovering... at org.netbeans.modules.javacore.parser.MDRParser.resolveSuperTypes(MDRParser.java:1148) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:327) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:293) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:270) at org.netbeans.modules.javacore.p[catch]java.lang.Exception: Class not found in index: Main. Recovering... at org.netbeans.modules.javacore.parser.MDRParser.resolveSuperTypes(MDRParser.java:1148) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:327) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:293) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:270) at org.netbeans.modules.javacore.parser.MDRParser.enterMembers(MDRParser.java:210) arser.MDRParser.enterMembers(MDRParser.java:210)
Reorganization of java component