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 118353

Summary: Warning windows popping up during debug session
Product: debugger Reporter: ksilz <ksilz>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Other   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: These are the windows that pop up like mad.
Here we go.

Description ksilz 2007-10-10 13:19:21 UTC
In Netbeans 6, beta 1, on Windows XP, SP2, JDK 1.6u1, I have Swing application (built with the UI designer) that I debug
regularly.  Occasionally, when I start the debug process, the app does come up, but I'm also flooded with debugger
windows (I'll attach a screenshot).  These windows come up so fast that I need to close my app and need to really hit
"Space" very quickly to get rid of them; sometimes I even close Netbeans altogether.
Comment 1 ksilz 2007-10-10 13:21:10 UTC
Created attachment 50578 [details]
These are the windows that pop up like mad.
Comment 2 Martin Entlicher 2007-10-10 13:37:03 UTC
Can you please attach your messages.log file here? It's located in <NetBeans user-dir>/var/log/messages.log
The dialog should show the whole exception, it should not be presented in this form. The cause should be visible from
your messages.log file.
Comment 3 ksilz 2007-10-10 14:14:00 UTC
Created attachment 50581 [details]
Here we go.
Comment 4 Martin Entlicher 2007-10-10 14:47:55 UTC
Thank you. Thus it's caused by this exception:

com.sun.jdi.IncompatibleThreadStateException
        at com.sun.tools.jdi.ThreadReferenceImpl.ownedMonitors(ThreadReferenceImpl.java:398)
[catch] at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getOwnedMonitors(JPDAThreadImpl.java:683)
        at org.netbeans.modules.debugger.jpda.ui.models.MonitorModel.getChildren(MonitorModel.java:114)
        ...
Comment 5 Martin Entlicher 2007-10-10 18:23:24 UTC
Well, the exception is a duplicate of issue #117386.
I've submitted issue #118408 for the problem of Warning dialogs.

*** This issue has been marked as a duplicate of 117386 ***
Comment 6 Quality Engineering 2010-04-29 09:35:58 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.