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 236126

Summary: NullPointerException at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds
Product: java Reporter: TimoKinnunen
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203983
Attachments: stacktrace

Description TimoKinnunen 2013-09-19 00:09:21 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b48, Java(TM) SE Runtime Environment, 1.8.0-ea-b106
OS: Windows 8

User Comments:
TimoKinnunen: Double-clicked the file to see its contents after looking at another file.

TimoKinnunen: Doing undo on search and replace all changes in one file after copying the changes to another file.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:309)
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitMethodDef(TypeAnnotations.java:1041)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:776)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:237)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
Comment 1 TimoKinnunen 2013-09-19 00:09:23 UTC
Created attachment 140234 [details]
stacktrace
Comment 2 Martin Balin 2015-09-17 11:29:33 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.