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 252424 - NullPointerException at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType
Summary: NullPointerException at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidato...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 15:42 UTC by _ gtzabari
Modified: 2016-11-08 13:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217329


Attachments
stacktrace (7.29 KB, text/plain)
2015-05-15 15:42 UTC, _ gtzabari
Details
stacktrace (10.27 KB, text/plain)
2016-07-25 08:43 UTC, jockel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-05-15 15:42:06 UTC
This bug was originally marked as duplicate of bug 250701, 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 201505130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
gtzabari: File modified by external application. Netbeans threw exception.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4805)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitVarDef(Attr.java:4723)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:858)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
   at com.sun.tools.javac.tree.TreeScanner.visitLambda(TreeScanner.java:222)
Comment 1 _ gtzabari 2015-05-15 15:42:07 UTC
Created attachment 153696 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-07-25 08:40:06 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217329
Comment 3 jockel 2016-07-25 08:43:06 UTC
Created attachment 161414 [details]
stacktrace

compiled project
Comment 4 Exceptions Reporter 2016-11-08 13:22:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217329