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 179271 - IllegalThreadStateException when enabling remote ss_attach in SS IDE without connecting to remote host
Summary: IllegalThreadStateException when enabling remote ss_attach in SS IDE without ...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal (vote)
Assignee: Chihin Ko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 16:50 UTC by Chihin Ko
Modified: 2010-01-18 17:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chihin Ko 2010-01-06 16:50:28 UTC
how to reproduce :

add a remote host to host list, but make sure it is offline.
go to Debug | Allow Ss_attach Requests 
choose the remote host :


java.lang.IllegalThreadStateException: Should never be called from AWT thread
        at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:238)
        at org.netbeans.modules.cnd.remote.support.RemoteConnectionSupport.<init>(RemoteConnectionSupport.java:70)
        at org.netbeans.modules.cnd.remote.support.RemoteCommandSupport.<init>(RemoteCommandSupport.java:88)
        at org.netbeans.modules.cnd.remote.support.RemoteCommandSupport.<init>(RemoteCommandSupport.java:95)
        at org.netbeans.modules.cnd.remote.mapper.RemoteHostInfoProviderFactory$RemoteHostInfo.getPlatform(RemoteHostInfoProviderFactory.java:132)
        at org.netbeans.modules.cnd.api.remote.HostInfoProvider.getPlatform(HostInfoProvider.java:66)
        at com.sun.tools.debugger.dbxgui.debugger.remote.CndRemote.platformInfo(CndRemote.java:351)
        at com.sun.tools.debugger.dbxgui.debugger.remote.CndRemote.hostFromName(CndRemote.java:185)
        at com.sun.tools.debugger.dbxgui.capture.CaptureListenAction$PopupItemTarget.actionPerformed(CaptureListenAction.java:139)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
        at java.awt.Component.processMouseEvent(Component.java:5517)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5282)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3984)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1791)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
L
Comment 1 Chihin Ko 2010-01-18 17:47:02 UTC
sside remote ss_attach :
http://lessing.sfbay.sun.com/hg/toolshg/rev/8c813d7506fd

sside remote attach and corefile debugging :
http://lessing.sfbay.sun.com/hg/toolshg/rev/e8187e4e1147

sside remote debug project and step into project :
http://lessing.sfbay.sun.com/hg/toolshg/rev/e8187e4e1147