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

Summary: NullPointerException at com.sun.tools.javac.comp.Check.validateAnnotation
Product: java Reporter: Maksim Khramov <mkhramov>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: mkhramov
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229174
Attachments: stacktrace
stacktrace

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