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.
Definately not a priority, but if you make a class that extends a primitive array like int[] then the parser generates a null pointer exception. Just one of those obscure things. :) Annotation: Parser error java.lang.NullPointerException at org.netbeans.modules.java.gj.V8TreeTranslator.process(V8TreeTranslator.java:97) at org.netbeans.modules.java.gj.ParserEngine.completeRequest(ParserEngine.java:359) at org.netbeans.modules.java.gj.ParserEngine.parseObject(ParserEngine.java:175) at org.netbeans.modules.java.gj.JavaParserEngine.process(JavaParserEngine.java:72) at org.netbeans.modules.java.parser.ParsingSupport$Processor.process(ParsingSupport.java:711) at org.netbeans.modules.java.parser.ParsingSupport$Processor.parseLockModel(ParsingSupport.java:662) at org.netbeans.modules.java.parser.ParsingSupport$Processor.run(ParsingSupport.java:593) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686) ==>
I cannot reproduce this NPE, but extending int[] can still cause problems: java.lang.ClassCastException at org.netbeans.modules.javacore.parser.MDRParser.resolveSuperTypes(MDRParser.java:1053)
Created attachment 16483 [details] ClassCastException
P5->P3 - parser should never throw exceptions. Tomasi, please look at it.
Seems it is fixed. No longer reproducible with the current dev builds.
Reorganization of java component