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 172032 - dbx: "phantom" debug sessions after failing startup
Summary: dbx: "phantom" debug sessions after failing startup
Status: REOPENED
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: ivan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 13:08 UTC by Alexander Pepin
Modified: 2010-06-10 12:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (120.28 KB, image/jpeg)
2009-09-11 13:11 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2009-09-11 13:08:44 UTC
If dbx due to some reason fails on startup debugger toolbar and debugger windows appear anyway. 'Sessions' window in
that case contains "phantom" sessions (see attached screenshot)
Comment 1 Alexander Pepin 2009-09-11 13:11:01 UTC
Created attachment 87501 [details]
screenshot
Comment 2 Alexander Pepin 2009-09-11 13:19:00 UTC
NPE appears if a user press Continue on debugger toolbar:
java.lang.NullPointerException
	at com.sun.tools.debugger.dbxgui.debugger.dbx.DbxDebuggerImpl.runProgram(DbxDebuggerImpl.java:1220)
	at com.sun.tools.debugger.dbxgui.debugger.dbx.DbxDebuggerImpl.go(DbxDebuggerImpl.java:1181)
	at com.sun.tools.debugger.dbxgui.debugger.actions.ContinueActionProvider.doAction(ContinueActionProvider.java:32)
	at com.sun.tools.debugger.dbxgui.debugger.actions.NativeActionsProvider.postAction(NativeActionsProvider.java:39)
	at com.sun.tools.debugger.dbxgui.debugger.actions.ContinueActionProvider.postAction(ContinueActionProvider.java:19)
	at org.netbeans.api.debugger.ActionsManager.postAction(ActionsManager.java:229)
	at org.netbeans.modules.debugger.ui.actions.DebuggerAction.actionPerformed(DebuggerAction.java:94)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6216)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5981)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4583)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4413)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 3 Egor Ushakov 2009-09-23 13:02:18 UTC
postponed until we have dbx support in NB
Comment 4 Vladimir Voskresensky 2009-10-05 13:34:07 UTC
move dbx related issues into dbx-gui component
Comment 5 Vladimir Voskresensky 2009-10-05 14:29:08 UTC
mark issues as not fixed
Comment 6 Egor Ushakov 2010-06-10 12:08:27 UTC
unable to reproduce, please recheck in the latest build and reopen if needed
Comment 7 Egor Ushakov 2010-06-10 12:41:17 UTC
reproduced if during remote debugging start user clicks cancel in password dialog