java.lang.IllegalThreadStateException: Should never be called from AWT thread at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:321) at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:205) at org.netbeans.modules.cnd.api.utils.PlatformInfo.(PlatformInfo.java:83) at org.netbeans.modules.cnd.api.utils.PlatformInfo.getDefault(PlatformInfo.java:392) at org.netbeans.modules.cnd.debugger.common2.debugger.remote.ExecHost.(ExecHost.java:67) at org.netbeans.modules.cnd.debugger.common2.debugger.remote.Host.byName(Host.java:120) at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.getHost(NativeDebuggerImpl.java:268) at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.start(GdbDebuggerImpl.java:346) at org.netbeans.modules.cnd.debugger.gdb2.actions.GdbStartActionProvider.doAction(GdbStartActionProvider.java:180) at org.netbeans.modules.cnd.debugger.gdb2.actions.GdbStartActionProvider.postAction(GdbStartActionProvider.java:130) at org.netbeans.api.debugger.ActionsManager.postAction(ActionsManager.java:233) at org.netbeans.api.debugger.DebuggerManager.startDebugging(DebuggerManager.java:395) at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.debugNoAsk(NativeDebuggerManager.java:997) at org.netbeans.modules.cnd.debugger.gdbserver.GdbServerAttachPanel$GdbServerAttachController.ok(GdbServerAttachPanel.java:178) at org.netbeans.modules.debugger.ui.actions.ConnectorPanel.ok(ConnectorPanel.java:298) at org.netbeans.modules.debugger.ui.actions.ConnectAction$ConnectListener.actionPerformed(ConnectAction.java:171) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1369) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:0) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:0) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:0) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:0) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:0) at java.awt.Component.processMouseEvent(Component.java:0) at javax.swing.JComponent.processMouseEvent(JComponent.java:0) at java.awt.Component.processEvent(Component.java:0) at java.awt.Container.processEvent(Container.java:0) at java.awt.Component.dispatchEventImpl(Component.java:0) at java.awt.Container.dispatchEventImpl(Container.java:0) at java.awt.Component.dispatchEvent(Component.java:0) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:0) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:0) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:0) at java.awt.Container.dispatchEventImpl(Container.java:0) at java.awt.Window.dispatchEventImpl(Window.java:0) at java.awt.Component.dispatchEvent(Component.java:0) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:0) at java.awt.EventQueue.access$200(EventQueue.java:0) at java.awt.EventQueue$3.run(EventQueue.java:0) at java.awt.EventQueue$3.run(EventQueue.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.awt.EventQueue$4.run(EventQueue.java:0) at java.awt.EventQueue$4.run(EventQueue.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.awt.EventQueue.dispatchEvent(EventQueue.java:0) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:0) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:0) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:0) at java.awt.Dialog.show(Dialog.java:0) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1074) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1114) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1096) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126) at org.openide.util.Mutex.doEventAccess(Mutex.java:1363) at org.openide.util.Mutex.readAccess(Mutex.java:273) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1081) at java.awt.Component.show(Component.java:0) at java.awt.Component.setVisible(Component.java:0) at java.awt.Window.setVisible(Window.java:0) at java.awt.Dialog.setVisible(Dialog.java:0) at org.netbeans.modules.debugger.ui.actions.ConnectAction.actionPerformed(ConnectAction.java:146) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:0) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:0) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:0) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:0) at javax.swing.AbstractButton.doClick(AbstractButton.java:0) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:0) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:0) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:0) at java.awt.Component.processMouseEvent(Component.java:0) at javax.swing.JComponent.processMouseEvent(JComponent.java:0) at java.awt.Component.processEvent(Component.java:0) at java.awt.Container.processEvent(Container.java:0) at java.awt.Component.dispatchEventImpl(Component.java:0) at java.awt.Container.dispatchEventImpl(Container.java:0) at java.awt.Component.dispatchEvent(Component.java:0) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:0) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:0) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:0) at java.awt.Container.dispatchEventImpl(Container.java:0) at java.awt.Window.dispatchEventImpl(Window.java:0) at java.awt.Component.dispatchEvent(Component.java:0) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:0) at java.awt.EventQueue.access$200(EventQueue.java:0) at java.awt.EventQueue$3.run(EventQueue.java:0) at java.awt.EventQueue$3.run(EventQueue.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.awt.EventQueue$4.run(EventQueue.java:0) at java.awt.EventQueue$4.run(EventQueue.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:0) at java.awt.EventQueue.dispatchEvent(EventQueue.java:0) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:0) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:0) at java.awt.EventDispatchThread.run(EventDispatchThread.java:0)