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 - NullPointerException at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitNewClass
Summary: NullPointerException at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidato...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 07:05 UTC by KevinAnderson
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209772


Attachments
stacktrace (2.61 KB, text/plain)
2015-05-01 07:06 UTC, KevinAnderson
Details

Note You need to log in before you can comment on or make changes to this bug.
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