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 270659 - NullPointerException at com.sun.tools.javac.comp.Check.validateAnnotation
Summary: NullPointerException at com.sun.tools.javac.comp.Check.validateAnnotation
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-16 21:04 UTC by Maksim Khramov
Modified: 2017-09-21 13:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229174


Attachments
stacktrace (3.84 KB, text/plain)
2017-05-16 21:04 UTC, Maksim Khramov
Details
stacktrace (2.57 KB, text/plain)
2017-09-21 13:59 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2017-05-16 21:04:34 UTC
Build: NetBeans IDE Dev (Build 201705050001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Windows 10

User Comments:
mkhramov: Type code in some method:
Long value;
than type @Unsigned before it




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Check.validateAnnotation(Check.java:2890)
   at com.sun.tools.javac.comp.Check.validateAnnotations(Check.java:2875)
   at com.sun.tools.javac.comp.Annotate.lambda$annotateLater$1(Annotate.java:272)
   at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:193)
   at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:312)
   at com.sun.tools.javac.code.Symbol.complete(Symbol.java:636)
Comment 1 Maksim Khramov 2017-05-16 21:04:36 UTC
Created attachment 164331 [details]
stacktrace
Comment 2 Maksim Khramov 2017-05-16 21:05:42 UTC
@Unsigned is not known annotation for edited code
Comment 3 Maksim Khramov 2017-09-21 13:59:34 UTC
Created attachment 165155 [details]
stacktrace

Edit java code