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.
Summary: | InvalidObjectException after opening file | ||
---|---|---|---|
Product: | java | Reporter: | pfelenda <pfelenda> |
Component: | Unsupported | Assignee: | Martin Matula <mmatula> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Java file
InvalidObjectException Stack trace |
Description
pfelenda
2004-08-16 08:14:54 UTC
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 |