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 269071

Summary: NullPointerException at com.sun.source.util.TreePath.<init>
Product: debugger Reporter: Alexander Simon <alexvsimon>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: scanti
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227258
Attachments: stacktrace

Description Alexander Simon 2016-11-22 11:47:40 UTC
Build: NetBeans IDE 8.2 (Build 20161117-13ee6f16f094)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: SunOS

User Comments:
alexvsimon: select block in method

alexvsimon: select code in editor and invoke popup menu




Stacktrace: 
java.lang.NullPointerException
   at com.sun.source.util.TreePath.<init>(TreePath.java:107)
   at org.netbeans.modules.debugger.jpda.projects.ScanLocalVars.visitReturn(ScanLocalVars.java:159)
   at org.netbeans.modules.debugger.jpda.projects.ScanLocalVars.visitReturn(ScanLocalVars.java:77)
   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1524)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:72)
   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
Comment 1 Alexander Simon 2016-11-22 11:47:42 UTC
Created attachment 162979 [details]
stacktrace