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 250701

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

Description wickund 2015-02-25 16:55:12 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b22, Java(TM) SE Runtime Environment, 1.8.0_20-ea-b23
OS: Mac OS X

User Comments:
wickund: Loading JDK sources.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4815)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitVarDef(Attr.java:4735)
   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 wickund 2015-02-25 16:55:14 UTC
Created attachment 152220 [details]
stacktrace
Comment 3 Quality Engineering 2015-03-03 04:19:23 UTC
Integrated into 'main-silver', will be available in build *201503030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ba19583f37aa
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #242108, #250685, and #250701 - fixed.