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 267643

Summary: NullPointerException at org.netbeans.modules.debugger.jpda.ui.models.DebuggingNodeModel.loadFrameDescription
Product: debugger Reporter: Jesse Glick <jglick>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225826
Attachments: stacktrace

Description Jesse Glick 2016-08-19 16:51:51 UTC
Build: NetBeans IDE Dev (Build 20151104-5022c03c8164)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Linux

User Comments:
jglick: Trying to jump up call frames in a stack that included Groovy code.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.ui.models.DebuggingNodeModel.loadFrameDescription(DebuggingNodeModel.java:466)
   at org.netbeans.modules.debugger.jpda.ui.models.DebuggingNodeModel.getDisplayName(DebuggingNodeModel.java:247)
   at org.netbeans.spi.viewmodel.Models$DelegatingNodeModel.getDisplayName(Models.java:3061)
   at org.netbeans.modules.debugger.jpda.ui.models.DebuggingMonitorModel.getDisplayName(DebuggingMonitorModel.java:512)
   at org.netbeans.spi.viewmodel.Models$CompoundNodeModel.getDisplayName(Models.java:1148)
   at org.netbeans.modules.debugger.jpda.js.frames.models.DebuggingJSNodeModel.getDisplayName(DebuggingJSNodeModel.java:166)
Comment 1 Jesse Glick 2016-08-19 16:51:53 UTC
Created attachment 161721 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-19 19:58:58 UTC
O.K. "rp" is null, because it's defined by JavaEngineProvider.
This might be on more places, it'd be best if the groovy engine provide adds RP into the lookup as well.
Probably JSR45DebuggerEngineProvider is responsible...
Comment 3 Martin Entlicher 2016-08-25 05:58:20 UTC
Should be fixed by changeset:   300247:b7b1a15850f9
http://hg.netbeans.org/core-main/rev/b7b1a15850f9
Thanks for submitting the issue.
Comment 4 Quality Engineering 2016-08-26 01:49:49 UTC
Integrated into 'main-silver', will be available in build *201608260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b7b1a15850f9
User: mentlicher@netbeans.org
Log: #267643: Have RequestProcessor in the lookup in all debugger engines.