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 - NullPointerException at com.sun.tools.javac.tree.JCTree$JCClassDecl.getKind
Summary: NullPointerException at com.sun.tools.javac.tree.JCTree$JCClassDecl.getKind
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 18:28 UTC by alied
Modified: 2017-11-22 20:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226215


Attachments
stacktrace (9.79 KB, text/plain)
2016-09-13 18:28 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
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