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: 1. Create a new project "testproject" 2. Wait for scanning to do it's job. 3. Do a typo in package declaration: package test project; 4. Do a typo in class declaration public class M ain { 5. correct typo in class declaration: public class M ain { 6. Exceptions are thrown - see attachment. This issue is *not* related to Tom's recent commit of fast scanner.
Created attachment 16657 [details] InvalidObjectException
Probably caused by: Class not found in index: test.M. Recovering... java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1064) at org.netbeans.modules.javacore.parser.MDRParser.resolveSuperTypes(MDRParser.java:1094) at org.netbeans.modules.javacore.parser.MDRParser.processAST(MDRParser.java:314)
Created attachment 16775 [details] Suggested fix. Dane, Martine, can you review it? Thanks
Patch reviewed by dprusa. Checking in ElementImpl.java; /cvs/java/src/org/netbeans/modules/java/bridge/ElementImpl.java,v <-- ElementImpl.java new revision: 1.17; previous revision: 1.16 done
Verified in 4.2 (200507110943)
Reorganization of java component