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 Dev JDK9 branch (Build 201506180405) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Windows 7 User Comments: jan.kurnatowski: While editing Java code Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:233) at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:208) at com.sun.tools.javac.comp.Analyzer.lambda$analyze$44(Analyzer.java:365) at com.sun.tools.javac.comp.Analyzer$$Lambda$47/709279060.accept(Analyzer.java:0) at java.util.HashMap$EntrySet.forEach(HashMap.java:1035) at com.sun.tools.javac.comp.Analyzer.analyze(Analyzer.java:363)
Created attachment 154390 [details] stacktrace
Created attachment 155960 [details] stacktrace Go to source
*** Bug 256308 has been marked as a duplicate of this bug. ***
Fixed in jet-main jdk9 branch. http://hg.netbeans.org/jet-main/rev/70b136b6f512 http://hg.netbeans.org/main/nb-javac-jdk9/rev/1427e641b91c
Integrated into 'main-silver', will be available in build *201511301649* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/70b136b6f512 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #253182 - NullPointerException at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process - fixed.