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 187987 - com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Status: VERIFIED FIXED
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-23 09:22 UTC by Alexandr Scherbatiy
Modified: 2010-07-20 11:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 170911


Attachments
stacktrace (2.85 KB, text/plain)
2010-06-23 09:22 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-23 09:22:07 UTC
Build: NetBeans IDE Dev (Build 201006230001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
sunflower: JavaFX Composer FXJDI: #29

Steps to reproduce:

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

    public var id: Integer;
    public var name: String;
    public var node: A;
}

function run() {

    var a = A {
                id: 1 name: "One"
                node: A{  id: 2 name: "Two" }
            };
    var str = "Hello World!";

    println(a);
} 
-------------------------------------------------

- Set a breakpoint to the ' println(a);' line
- Debug the project
- Go to the Variable window
- Expand the 'a' variable
- Expand the 'a.node' variable

The exception pops up




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.location(StackFrameImpl.java:71)
   at com.sun.javafx.jdi.FXStackFrame.location(FXStackFrame.java:82)
   at com.sun.javafx.jdi.FXStackFrame.location(FXStackFrame.java:41)
   at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.indexOf(TreeEvaluator.java:222)
   at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:129)
Comment 1 Alexandr Scherbatiy 2010-06-23 09:22:11 UTC
Created attachment 100352 [details]
stacktrace
Comment 2 Michal Skvor 2010-07-07 13:53:27 UTC
Fixed. Now the expansion works perfectly.
Comment 3 Alexandr Scherbatiy 2010-07-20 11:35:47 UTC
verified in NetBeans IDE 6.9.1 Dev (Build 201007182301)