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 267955

Summary: NullPointerException at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMethodInvocation
Product: debugger Reporter: Andrey1990
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226159
Attachments: stacktrace

Description Andrey1990 2016-09-09 13:37:07 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
Andrey1990: Debugging application with Spring and Hibernate




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMethodInvocation(EvaluatorVisitor.java:308)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMethodInvocation(EvaluatorVisitor.java:207)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1483)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitReturn(EvaluatorVisitor.java:2775)
   at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitReturn(EvaluatorVisitor.java:207)
   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1396)
Comment 1 Andrey1990 2016-09-09 13:37:09 UTC
Created attachment 161981 [details]
stacktrace
Comment 2 Martin Entlicher 2016-09-12 12:12:04 UTC
Fixed by changeset:   300657:2b120d2f6cdc
http://hg.netbeans.org/core-main/rev/2b120d2f6cdc
Comment 3 Quality Engineering 2016-09-13 02:03:06 UTC
Integrated into 'main-silver', will be available in build *201609130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2b120d2f6cdc
User: mentlicher@netbeans.org
Log: #267955: Check if the method invoke element exists.
Comment 4 Martin Entlicher 2016-12-09 10:21:42 UTC
Transplanted to release82:
http://hg.netbeans.org/releases/rev/025172bdf6ee
Comment 5 Jiri Kovalsky 2016-12-14 06:58:11 UTC
Verified on behalf of Андрей. Thanks!