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 IDE Dev (Build 201601070002) VM: Java HotSpot(TM) Client VM, 25.72-b05, Java(TM) SE Runtime Environment, 1.8.0_72-ea-b05 OS: Windows 7 User Comments: mps77: type: int w.t <ctrl+space> context: W w = new W(); for (...) { if (..) { if (..) { int w.t } Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.<init>(TreePath.java:107) at org.netbeans.modules.java.editor.ext.fold.ShorteningFold$Visitor.visitVariable(ShorteningFold.java:254) at org.netbeans.modules.java.editor.ext.fold.ShorteningFold$Visitor.visitVariable(ShorteningFold.java:127) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:944) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72) at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:94)
Created attachment 158064 [details] stacktrace
Created attachment 161921 [details] stacktrace invoking code completion
ShorteningFold$Visitor should not pass null value as a parent path to the TreePath constructor.
Created attachment 162021 [details] stacktrace Closed a java editor tab.
Created attachment 162033 [details] stacktrace editing a Java source file with errors
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222041
Created attachment 164498 [details] stacktrace Not really sure; I just noticed the error notification.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222041