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 252190

Summary: NullPointerException at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitNewClass
Product: java Reporter: KevinAnderson
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209772
Attachments: stacktrace

Description KevinAnderson 2015-05-01 07:05:59 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows Vista

User Comments:
GUEST: I was simply editing code.

KevinAnderson: Pasted in some code




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitNewClass(Attr.java:4758)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1522)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.tree.TreeScanner.visitReturn(TreeScanner.java:185)
   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1390)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
Comment 1 KevinAnderson 2015-05-01 07:06:01 UTC
Created attachment 153487 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 07:17:23 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss