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 141255 - [65cat]com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: [65cat]com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
: 141270 141763 142357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-23 03:07 UTC by Torbjorn Norbye
Modified: 2010-04-29 09:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 80446


Attachments
stacktrace (914 bytes, text/plain)
2008-07-24 18:25 UTC, _ theanuradha
Details
stacktrace (914 bytes, text/plain)
2008-07-25 06:16 UTC, _ theanuradha
Details
stacktrace (914 bytes, text/plain)
2008-07-25 22:56 UTC, jlaskowski
Details
stacktrace (914 bytes, text/plain)
2008-07-26 11:04 UTC, alcmontejo
Details
stacktrace (914 bytes, text/plain)
2008-07-29 08:36 UTC, yeradis
Details
stacktrace (914 bytes, text/plain)
2008-07-29 15:38 UTC, Unknown
Details
stacktrace (914 bytes, text/plain)
2008-07-29 15:52 UTC, Unknown
Details
stacktrace (914 bytes, text/plain)
2008-07-31 08:37 UTC, alcmontejo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjorn Norbye 2008-07-23 03:07:35 UTC
Got this while singlestepping. I had already updated to include your earlier resume-thread fix from today.

Build: NetBeans IDE Dev (Build 080722)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386
User comments: Stepping
STACKTRACE: (first 10 lines)
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:61)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:79)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
        at org.netbeans.modules.debugger.jpda.projects.ToolTipAnnotation.run(ToolTipAnnotation.java:148)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Petr Cyhelsky 2008-07-23 07:37:32 UTC
*** Issue 141270 has been marked as a duplicate of this issue. ***
Comment 2 Martin Entlicher 2008-07-23 17:53:36 UTC
This happens to me when I modify code and silent code update is performed.
Comment 3 _ theanuradha 2008-07-24 18:25:10 UTC
Build: NetBeans IDE Dev (Build 080723)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 4 _ theanuradha 2008-07-24 18:25:19 UTC
Created attachment 65574 [details]
stacktrace
Comment 5 _ theanuradha 2008-07-25 06:16:13 UTC
Build: NetBeans IDE Dev (Build 080723)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 6 _ theanuradha 2008-07-25 06:16:22 UTC
Created attachment 65615 [details]
stacktrace
Comment 7 _ theanuradha 2008-07-25 06:17:22 UTC
this happen to me when I step out 
Comment 8 jlaskowski 2008-07-25 22:56:22 UTC
Build: NetBeans IDE Dev (Build 200807240010)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 9 jlaskowski 2008-07-25 22:56:26 UTC
Created attachment 65690 [details]
stacktrace
Comment 10 alcmontejo 2008-07-26 11:04:43 UTC
Build: NetBeans IDE Dev (Build 200807251401)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
When I am debugging my web apps, pressing F8

Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 11 alcmontejo 2008-07-26 11:04:51 UTC
Created attachment 65717 [details]
stacktrace
Comment 12 yeradis 2008-07-29 08:35:59 UTC
Build: NetBeans IDE Dev (Build 200807240010)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-20-generic, amd64

User Comments: 
while debuging

Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 13 yeradis 2008-07-29 08:36:02 UTC
Created attachment 65903 [details]
stacktrace
Comment 14 Unknown 2008-07-29 15:37:57 UTC
Build: NetBeans IDE Dev (Build 200807280848)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.25-9.slh.1-sidux-amd64, amd64

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 15 Unknown 2008-07-29 15:38:12 UTC
Created attachment 65957 [details]
stacktrace
Comment 16 Unknown 2008-07-29 15:51:57 UTC
Build: NetBeans IDE Dev (Build 200807280848)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.25-9.slh.1-sidux-amd64, amd64

User Comments: 


Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 17 Unknown 2008-07-29 15:52:06 UTC
Created attachment 65959 [details]
stacktrace
Comment 18 J Bachorik 2008-07-30 16:00:58 UTC
This happened when stopped in breakpoint, modified a small part of the code and tried to perform "Fix&Continue".
Marking this as regression - build 20080710 worked fine for me.
Comment 19 alcmontejo 2008-07-31 08:37:49 UTC
Build: NetBeans IDE Dev (Build 200807301401)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Hi!

Good day!

This is on build  200807301401

Got this exception when i debug my wep apps, It hang for about  60 sec 
and the the exception display

Thanks and more power,
Allen Montejo

Stacktrace: 
com.sun.jdi.InvalidStackFrameException: Thread has been resumed
        at com.sun.tools.jdi.StackFrameImpl.validateStackFrame(StackFrameImpl.java:62)
        at com.sun.tools.jdi.StackFrameImpl.thread(StackFrameImpl.java:80)
        at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getStackFrame(CallStackFrameImpl.java:582)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:653)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:624)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:281)
Comment 20 alcmontejo 2008-07-31 08:37:53 UTC
Created attachment 66144 [details]
stacktrace
Comment 21 Daniel Prusa 2008-07-31 08:43:26 UTC
*** Issue 142357 has been marked as a duplicate of this issue. ***
Comment 22 Daniel Prusa 2008-07-31 12:24:59 UTC
Fixed.
changeset d6fa3c076e35 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=d6fa3c076e35
Comment 23 ranbato 2008-08-05 20:24:04 UTC
Is this supposed to be fixed in 20080802...?
I just got it.
Comment 24 Daniel Prusa 2008-08-06 14:17:06 UTC
This exception could be potentially thrown at several places, file a new issue if you encounter it. (You have probably
done it in 142963).
Comment 25 Daniel Prusa 2008-08-14 07:53:59 UTC
*** Issue 141763 has been marked as a duplicate of this issue. ***
Comment 26 Quality Engineering 2010-04-29 09:41:39 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.