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

Summary: com.sun.jdi.InvalidStackFrameException: Thread has been resumed
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: RESOLVED WONTFIX    
Severity: normal CC: sunflower
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 170957
Bug Depends on:    
Bug Blocks: 173187    
Attachments: stacktrace
stacktrace

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.