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 158756 - org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context (stack frame)
Summary: org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords:
: 161009 162100 162857 (view as bug list)
Depends on: 161270
Blocks:
  Show dependency tree
 
Reported: 2009-02-18 16:09 UTC by Filip Zamboj
Modified: 2010-04-29 09:48 UTC (History)
26 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146478


Attachments
stacktrace (1.91 KB, text/plain)
2009-02-18 16:09 UTC, Filip Zamboj
Details
stacktrace (1.91 KB, text/plain)
2009-03-19 10:51 UTC, lopura
Details
stacktrace (1.91 KB, text/plain)
2009-04-03 14:29 UTC, big_al
Details
stacktrace (1.69 KB, text/plain)
2009-04-20 16:55 UTC, Jiri Prox
Details
stacktrace (1.91 KB, text/plain)
2009-04-21 10:36 UTC, aldobrucale
Details
stacktrace (1.69 KB, text/plain)
2009-04-21 16:24 UTC, aldobrucale
Details
stacktrace (1.91 KB, text/plain)
2009-04-21 16:28 UTC, aldobrucale
Details
stacktrace (1.91 KB, text/plain)
2009-04-24 12:47 UTC, malakim
Details
stacktrace (1.91 KB, text/plain)
2009-04-25 11:30 UTC, Martin Schovanek
Details
stacktrace (1.77 KB, text/plain)
2009-05-17 18:49 UTC, ieising
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-02-18 16:09:15 UTC
Build: NetBeans IDE Dev (Build 200902180201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-ea-b03
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
fzamboj: stepping over a method. Not stepping in JDK classes but my own.



Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor150.invoke(GeneratedMethodAccessor150.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:278)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:399)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1053)
Comment 1 Filip Zamboj 2009-02-18 16:09:27 UTC
Created attachment 77112 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-03-03 01:25:11 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146478
Comment 3 lopura 2009-03-19 10:51:39 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor199.invoke(GeneratedMethodAccessor199.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:282)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:399)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1053)
Comment 4 lopura 2009-03-19 10:51:44 UTC
Created attachment 78430 [details]
stacktrace
Comment 5 Martin Entlicher 2009-03-26 10:56:52 UTC
*** Issue 161009 has been marked as a duplicate of this issue. ***
Comment 6 Martin Entlicher 2009-03-26 10:58:59 UTC
According to issue #161009 this can be thrown also from
org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getChildren(VariablesFormatterFilter.java:155)
Comment 7 big_al 2009-04-03 14:28:59 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
Stepping through (debugging) an Enterprise Application

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor196.invoke(GeneratedMethodAccessor196.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:282)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:408)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1107)
Comment 8 big_al 2009-04-03 14:29:04 UTC
Created attachment 79391 [details]
stacktrace
Comment 9 Daniel Prusa 2009-04-09 10:20:30 UTC
*** Issue 162100 has been marked as a duplicate of this issue. ***
Comment 10 Martin Entlicher 2009-04-17 08:34:00 UTC
*** Issue 162857 has been marked as a duplicate of this issue. ***
Comment 11 Martin Entlicher 2009-04-17 08:35:50 UTC
There is a same problem in VariablesFormatterFilter.getChildren(), see issue #162857.
Comment 12 Jiri Prox 2009-04-20 16:54:51 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904192254)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
IEE occurred when debugging small application

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor223.invoke(GeneratedMethodAccessor223.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getChildren(VariablesFormatterFilter.java:167)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildren(VariablesTreeModelFilter.java:205)
        at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:699)
Comment 13 Jiri Prox 2009-04-20 16:55:00 UTC
Created attachment 80528 [details]
stacktrace
Comment 14 aldobrucale 2009-04-21 10:35:57 UTC
Build: NetBeans IDE Dev (Build 200904201507)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-11-generic, i386

User Comments: 
Activating variables window during java debug

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor237.invoke(GeneratedMethodAccessor237.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:294)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:408)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1107)
Comment 15 aldobrucale 2009-04-21 10:36:04 UTC
Created attachment 80575 [details]
stacktrace
Comment 16 aldobrucale 2009-04-21 16:24:33 UTC
Build: NetBeans IDE Dev (Build 200904201507)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-11-generic, i386

User Comments: 
Switching to nb

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor419.invoke(GeneratedMethodAccessor419.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getChildren(VariablesFormatterFilter.java:167)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildren(VariablesTreeModelFilter.java:205)
        at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:699)
Comment 17 aldobrucale 2009-04-21 16:24:45 UTC
Created attachment 80611 [details]
stacktrace
Comment 18 aldobrucale 2009-04-21 16:28:38 UTC
Build: NetBeans IDE Dev (Build 200904201507)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-11-generic, i386

User Comments: 
debug step into

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor419.invoke(GeneratedMethodAccessor419.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:294)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:408)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1107)
Comment 19 aldobrucale 2009-04-21 16:28:47 UTC
Created attachment 80612 [details]
stacktrace
Comment 20 Exceptions Reporter 2009-04-23 11:56:25 UTC
This issue already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146478
Comment 21 malakim 2009-04-24 12:46:56 UTC
Build: NetBeans IDE Dev (Build 200904231401)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 
Debugging a web app running on Glassfish V2.1

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor474.invoke(GeneratedMethodAccessor474.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:294)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:408)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1107)
Comment 22 malakim 2009-04-24 12:47:07 UTC
Created attachment 80844 [details]
stacktrace
Comment 23 Filip Zamboj 2009-04-24 13:33:17 UTC
raising to P2 - this issue has already more than 50 duplicates. 
Comment 24 Martin Schovanek 2009-04-25 11:29:50 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904230001)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
Step over at InstallSupportImpl:367

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor223.invoke(GeneratedMethodAccessor223.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getValueAt(VariablesFormatterFilter.java:294)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getValueAt(VariablesTreeModelFilter.java:408)
        at org.netbeans.spi.viewmodel.Models$CompoundTableModel.getValueAt(Models.java:1107)
Comment 25 Martin Schovanek 2009-04-25 11:30:02 UTC
Created attachment 80908 [details]
stacktrace
Comment 26 Martin Entlicher 2009-04-27 11:18:31 UTC
Fixed in changeset:   128929:889e1be920b1
http://hg.netbeans.org/main/rev/889e1be920b1
Comment 27 Quality Engineering 2009-04-28 18:54:50 UTC
Integrated into 'main-golden', will be available in build *200904281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/889e1be920b1
User: mentlicher@netbeans.org
Log: #158756 - Catch the InvalidExpressionException which can be thrown during variable formatting.
Comment 28 ieising 2009-05-17 18:49:44 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getChildren(VariablesFormatterFilter.java:167)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildren(VariablesTreeModelFilter.java:205)
Comment 29 ieising 2009-05-17 18:49:51 UTC
Created attachment 82258 [details]
stacktrace
Comment 30 Quality Engineering 2010-04-29 09:48:06 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.