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.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Linux User Comments: GUEST: Was trying to initiate a remote debug using the GDB server plugin. Stacktrace: java.lang.IllegalThreadStateException: Should never be called from AWT thread at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:398) at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:285) at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:255) at org.netbeans.modules.cnd.api.utils.PlatformInfo.<init>(PlatformInfo.java:84) at org.netbeans.modules.cnd.api.utils.PlatformInfo.getDefault(PlatformInfo.java:393) at org.netbeans.modules.cnd.debugger.common2.debugger.remote.ExecHost.<init>(ExecHost.java:67)
Created attachment 161628 [details] stacktrace
Isn't it a debugger bug? It starts debugging right in the UI thread. Well, to put it more precise, its a gdbserver bug; and gdbserver is a plugin in contrib. But I guess gdbserver will be soon included into cnd back again, so we'd better leave this bug on debugger.
fixed in contrib changeset: 18395:fa89675554e4 branch: release82 user: Maria Dalmatova <mromashova@netbeans.org> date: Thu Dec 08 15:54:27 2016 +0300 summary: fixed bz#267533 - NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.GdbHandlerExpert.appendCommandStart changeset: 18396:23c0ac76825f branch: release82 tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Thu Dec 08 15:56:35 2016 +0300 summary: added fiz bz#267533 spec version of gdbserver is incremented
transplanted in contrib/default changeset: 18398:995611fef0d5 tag: tip user: Maria Dalmatova <mromashova@netbeans.org> date: Thu Dec 08 15:54:27 2016 +0300 summary: fixed bz#267533 - NullPointerException at org.netbeans.modules.cnd.debugger.gdb2.GdbHandlerExpert.appendCommandStart changeset: 18397:0f6ff4e8e09f parent: 18392:6ccd27d3f884 user: Maria Dalmatova <mromashova@netbeans.org> date: Sun Dec 04 19:42:56 2016 +0300 summary: added fix to bug#24810679 - changes in gdb.common