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 235746

Summary: NullPointerException at com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.report
Product: java Reporter: tomzi <tomzi>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203733
Attachments: stacktrace

Description tomzi 2013-09-10 13:11:46 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
tomzi: Refactor method




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.report(Log.java:148)
   at com.sun.tools.javac.util.Log.report(Log.java:624)
   at com.sun.tools.javac.util.AbstractLog.warning(AbstractLog.java:159)
   at com.sun.tools.javac.comp.Attr.findDiamondIfNeeded(Attr.java:2261)
   at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2126)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1514)
Comment 1 tomzi 2013-09-10 13:11:49 UTC
Created attachment 139880 [details]
stacktrace
Comment 2 Martin Balin 2015-09-17 11:28:51 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.