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.
Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 1.9.0-ea-b50, Java(TM) SE Runtime Environment, 1.9.0-ea-b50 OS: Mac OS X User Comments: tveimo: Add source (zip file) for a maven dependency (jar file), then remove that zip file from disk. Try to double click on the class. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeSuper(CodeGenerator.java:409) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:330) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:270) at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1172) at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:111) at org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:320)
Created attachment 152175 [details] stacktrace
Fixed by jet-main#e5a76ebe188f
Integrated into 'main-silver', will be available in build *201504120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e5a76ebe188f User: Svata Dedic <sdedic@netbeans.org> Log: #250654: avoid NPEs on inaccessible JRE