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 188033 - com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-06-24 08:54 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170957


Attachments
stacktrace (2.90 KB, text/plain)
2010-06-24 08:55 UTC, Alexandr Scherbatiy
Details
stacktrace (2.94 KB, text/plain)
2010-06-24 12:28 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-06-24 08:54:56 UTC
Build: NetBeans IDE Dev (Build 201006240001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

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 com.sun.javafx.jdi.FXStackFrame.thread(FXStackFrame.java:97)
   at com.sun.javafx.jdi.FXStackFrame.thread(FXStackFrame.java:41)
   at org.netbeans.modules.debugger.jpda.jdi.StackFrameWrapper.thread(StackFrameWrapper.java:397)
   at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:122)
Comment 1 Alexandr Scherbatiy 2010-06-24 08:55:03 UTC
Created attachment 100381 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-06-24 08:59:22 UTC
JavaFX Composer FXJDI: #31

  Product Version         = NetBeans IDE Dev (Build 201006240001)
(#712bfb992ed0)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun
Microsystems Inc.
Comment 3 Alexandr Scherbatiy 2010-06-24 09:01:20 UTC
Steps to reproduce:

- Copy the code to the editor:
---------------------------------------------
class A {

    public var name: String;
    
    public var next:A;
}

function run() {

    var s = [
                A { name: "A" }
                A { name: "B"  next: A{ name: "BA"}}
                A { name: "C" next: A{ name: "CA" next: A{name: "CAA"  }} }
            ];
            
    var i = 3;

} 
---------------------------------------------

- Set a breakpoint to the 'i' variable
- Debug the project
- Expand the 's' sequence the sequence values

The exception pops up.
Comment 4 Alexandr Scherbatiy 2010-06-24 12:28:45 UTC
Created attachment 100393 [details]
stacktrace
Comment 5 Michal Skvor 2010-07-07 14:30:20 UTC
No exception any more.
Comment 6 Alexandr Scherbatiy 2010-07-20 11:45:43 UTC
verified in NetBeans IDE 6.9.1 Dev (Build 201007182301)
Comment 7 Alexandr Scherbatiy 2010-08-10 13:29:50 UTC
NetBeans 6.10 IDE Dev (Build 201008100001)

See the http://statistics.netbeans.org/analytics/exception.do?id=415457

Steps to reproduce:

- Create DisplayShelf JavaFX sample
- Open the displayshelf.DisplayShelf class
- Set a breakpoint to the line 58 'right.content = Sequences.<<reverse>>(right.content) as Node[];'

- Debug the project
- Expand Script node in the Variables window
- Press F7
  Object.java file opens.

- Expand obj->Static node
  The exception pops up


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 com.sun.javafx.jdi.FXStackFrame.thread(FXStackFrame.java:97)
	at com.sun.javafx.jdi.FXStackFrame.thread(FXStackFrame.java:41)
Comment 8 David Strupl 2011-05-16 13:52:47 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.