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 201609020002) VM: OpenJDK 64-Bit Server VM, 25.102-b14, OpenJDK Runtime Environment, 1.8.0_102-b14 OS: Linux User Comments: jherkel: I tried to debug my project Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.<init>(TreePath.java:112) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:70) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106) at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1002) at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.interpretOrCompileCode(PreferredCCParser.java:522)
Created attachment 161907 [details] stacktrace
Created attachment 161980 [details] stacktrace exploration of instance during debug session
Created attachment 162012 [details] stacktrace Inspecting a Web service client during a debug session.
*** Bug 267896 has been marked as a duplicate of this bug. ***
PreferredCCParser should not call a tree's accept method passing a TreePathScanner without properly initialized parent path as an argument.
This is a regression, unfortunately. Can be reproduced by e.g. having an instance of an implementation of a Map in Variables window, for which the source class is not available.
Fixed by changeset: 300732:a1107ac38927 http://hg.netbeans.org/core-main/rev/a1107ac38927 Please verify in trunk, will backport into 8.2 then.
Integrated into 'main-silver', will be available in build *201609160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a1107ac38927 User: mentlicher@netbeans.org Log: #267881: Do not attempt to compile when TreePath is not available.
Hi, I check this with build linked by Jiri on the NetCAT list. Was ok but I'm not sure I'm able to reproduce the exact context
Thanks Eric. Integration approved. Martine, please merge the fix to release82 branch.
Thanks, integrated into release82 branch: http://hg.netbeans.org/releases/rev/663f6e515bfe