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 268345

Summary: NullPointerException at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process
Product: java Reporter: Andrew Krasny <akrasny>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226584
Attachments: stacktrace

Description Andrew Krasny 2016-10-05 01:34:32 UTC
This bug was originally marked as duplicate of bug 256965, 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 20160520-0e4d77c492ec)
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:
akrasny: pushed Build button on a newly created project (java, from existent sources)




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:244)
   at com.sun.tools.javac.comp.Analyzer$DiamondInitializer.process(Analyzer.java:211)
   at com.sun.tools.javac.comp.Analyzer.lambda$analyze$74(Analyzer.java:383)
   at com.sun.tools.javac.comp.Analyzer$$Lambda$122/1135450090.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 Andrew Krasny 2016-10-05 01:34:34 UTC
Created attachment 162340 [details]
stacktrace