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 240184 - org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context
Summary: org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 09:01 UTC by Jaroslav Tulach
Modified: 2014-01-23 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206442


Attachments
stacktrace (2.03 KB, text/plain)
2014-01-10 09:01 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2014-01-10 09:01:04 UTC
Build: NetBeans IDE Dev (Build 20140110-cb763fc51368)
VM: Java HotSpot(TM) Client VM, 25.0-b62, Java(TM) SE Runtime Environment, 1.8.0-ea-b120
OS: Linux

User Comments:
jtulach: While verifying #237876 by debugging large (2MB) generated JavaScript <eval>.js




Stacktrace: 
org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1075)
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:1034)
   at org.netbeans.modules.debugger.jpda.models.JPDAClassTypeImpl.invokeMethod(JPDAClassTypeImpl.java:324)
   at org.netbeans.modules.debugger.jpda.models.JPDAClassTypeImpl.invokeMethod(JPDAClassTypeImpl.java:269)
   at org.netbeans.modules.debugger.jpda.js.vars.DebuggerSupport.getValueInfoDesc(DebuggerSupport.java:99)
   at org.netbeans.modules.debugger.jpda.js.vars.JSVariable.create(JSVariable.java:87)
Comment 1 Jaroslav Tulach 2014-01-10 09:01:05 UTC
Created attachment 143773 [details]
stacktrace
Comment 2 Martin Entlicher 2014-01-21 17:09:45 UTC
Fixed by changeset:   270913:cf269f44f000
http://hg.netbeans.org/core-main/rev/cf269f44f000
Comment 3 Quality Engineering 2014-01-23 02:40:52 UTC
Integrated into 'main-silver', will be available in build *201401230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cf269f44f000
User: mentlicher@netbeans.org
Log: #240184: Do not report InvalidExpressionException, we simply do not produce a JS variable when invocation fails.