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 268005

Summary: NullPointerException at com.sun.tools.javac.tree.JCTree$JCClassDecl.getKind
Product: java Reporter: alied <alied>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: rrohm
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226215
Attachments: stacktrace

Description alied 2016-09-13 18:28:08 UTC
Build: NetBeans IDE Dev (Build 201609130002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Linux

User Comments:
alied: editing a lambda in a Java source file




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.getKind(JCTree.java:752)
   at org.netbeans.api.java.source.WorkingCopy$4.scan(WorkingCopy.java:712)
   at org.netbeans.api.java.source.WorkingCopy$4.scan(WorkingCopy.java:663)
   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
   at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:527)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1681)
Comment 1 alied 2016-09-13 18:28:10 UTC
Created attachment 162032 [details]
stacktrace