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 75390

Summary: In Call Stack View pressed “Pop to here” at lower thread caused
Product: debugger Reporter: martin_hasaj <martin_hasaj>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: InternalException

Description martin_hasaj 2006-04-24 10:55:15 UTC
build: netbeans-6_0-daily-bin-200604091800-windows-9_Apr_2006_1800

In Call Stack view while debugging project stopped at breakpoint I fired "Pop to
here" at one of lower thread and it caused InternalException
Comment 1 martin_hasaj 2006-04-24 10:56:45 UTC
Created attachment 30003 [details]
InternalException
Comment 2 Martin Entlicher 2006-04-24 15:50:37 UTC
This is a defect in JDI. I have no idea what OPAQUE_FRAME (error 32) means.

What was the method you wanted to pop? Was there a native method on the call stack?
Comment 3 Martin Entlicher 2006-04-24 16:15:53 UTC
Bug #6417053 submitted for JDI. This is not a NetBeans defect. Although we
probably need to catch some more exceptions that can be thrown from
ThreadReference.popFrames() in JPDADebuggerImpl. Therefore I'm still leaving
this issue open...
Comment 4 Martin Entlicher 2007-05-18 13:27:04 UTC
I did not managed to get the NativeMethodException here, I always get an
InternalException with JDWP error 32.
Thus I have to add catch for both.
Comment 5 Martin Entlicher 2007-05-18 13:33:08 UTC
Fixed in trunk. The exceptions are catched and an informative message is displayed.

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.6; previous revision: 1.5

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/CallStackFrameImpl.java,v
 <--  CallStackFrameImpl.java
new revision: 1.27; previous revision: 1.26

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/JPDAThreadImpl.java,v
 <--  JPDAThreadImpl.java
new revision: 1.31; previous revision: 1.30
Comment 6 Quality Engineering 2010-04-29 09:28:52 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.