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.

Bug 256965 - NullPointerException at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process
Summary: NullPointerException at com.sun.tools.javac.comp.Analyzer$DiamondInitializer....
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 21:06 UTC by Exceptions Reporter
Modified: 2015-12-07 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221495


Attachments
stacktrace (6.75 KB, text/plain)
2015-12-03 21:06 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-03 21:06:01 UTC
This bug was originally marked as duplicate of bug 253182, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201512030002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Mac OS X

User Comments:
GUEST: Netbeans report NPE when JDK 9 with fastdebug is used as platform.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:238)
   at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:211)
   at com.sun.tools.javac.comp.Analyzer.lambda$analyze$72(Analyzer.java:383)
   at com.sun.tools.javac.comp.Analyzer$$Lambda$124/577983682.accept(Analyzer.java:0)
   at java.util.HashMap$EntrySet.forEach(HashMap.java:1035)
   at com.sun.tools.javac.comp.Analyzer.analyze(Analyzer.java:381)
Comment 1 Exceptions Reporter 2015-12-03 21:06:02 UTC
Created attachment 157653 [details]
stacktrace
Comment 2 Dusan Balek 2015-12-07 12:02:22 UTC
Hard to fix without a reproducible test case.