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 226894

Summary: NullPointerException at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.annotationType
Product: java Reporter: Alexandr Scherbatiy <sunflower>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 199182
Attachments: stacktrace

Description Alexandr Scherbatiy 2013-03-01 14:51:22 UTC
Build: NetBeans IDE Dev (Build jdk8lambda-1649-on-20130212)
VM: Java HotSpot(TM) Client VM, 22.0-b02, Java(TM) SE Runtime Environment, 1.7.0_02-ea-b04
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.annotationType(TypeAnnotations.java:487)
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:157)
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitMethodDef(TypeAnnotations.java:867)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:135)
Comment 1 Alexandr Scherbatiy 2013-03-01 14:51:24 UTC
Created attachment 132070 [details]
stacktrace
Comment 2 Quality Engineering 2015-02-04 03:29:18 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.