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.
Build: NetBeans Dev JDK9 branch (Build 201506180405) VM: Java HotSpot(TM) Client VM, 1.9.0-ea-b73, Java(TM) SE Runtime Environment, 1.9.0-ea-b73 OS: Windows 7 User Comments: GUEST: the error occured during normal usage of the editor, scrolling over the hint to replace anonymous class with lambda expression. I can't do that as the source level is set to 1.6 - i also think that the hint should be adjusted to current source level setting GUEST: 1)I have created a list 2)In ArrayList<String>(); 3)After selecting the String I got the popup showing the NullPointerException sunflower: edit code Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Analyzer$LambdaAnalyzer.match(Analyzer.java:261) at com.sun.tools.javac.comp.Analyzer$LambdaAnalyzer.match(Analyzer.java:251) at com.sun.tools.javac.comp.Analyzer$StatementScanner.scan(Analyzer.java:422) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) at com.sun.tools.javac.tree.TreeScanner.visitApply(TreeScanner.java:203) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1606)
Created attachment 154758 [details] stacktrace
*** Bug 253975 has been marked as a duplicate of this bug. ***
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=218344
Created attachment 157743 [details] stacktrace NPE when editing source
Created attachment 157798 [details] stacktrace Happened during copy and paste
Created attachment 158028 [details] stacktrace NPE when trying reproduce issue 257431
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=218344
Created attachment 158961 [details] stacktrace go to usage
Created attachment 160159 [details] stacktrace Opened a refactored file that references non-existent classes
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=218344
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/0a1f5b99e4d0 http://hg.netbeans.org/main/nb-javac/rev/7e01e72450fc
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0a1f5b99e4d0 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #253608, #267646, and #267678 fixed.