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: Oracle Solaris Studio 12.4 (2014/09/18 0643a9c5489c) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: SunOS User Comments: alexvsimon: debug remote core file Stacktrace: java.lang.IllegalThreadStateException: Should never be called from AWT thread at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:357) at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connect(ConnectionManager.java:314) at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connect(ConnectionManager.java:345) at org.netbeans.modules.cnd.debugger.common2.utils.PsProvider.getDefault(PsProvider.java:521) at org.netbeans.modules.cnd.debugger.common2.debugger.NativeSessionProvider.getSessionName(NativeSessionProvider.java:81) at org.netbeans.api.debugger.DebuggerManager.startDebugging(DebuggerManager.java:325)
Created attachment 149340 [details] stacktrace
NativeSessionProvider getSessionName should return the same string The problem: when using mixed development and switching between Java and native session the name of Native session displayed in the table is not from NodeFilter but from Session.getName()
sorry. incorrect whiteboard, marked it as patch 2 candidate on Monday
fixed in 280610:d0d7c134ebb7 (the fix is just revert of changes which introduced this exception) from the user point of view: in case of Mixed development the name of native session will be displayed in Sessions view as "placeholder-for-NativeSessionProvider.getSessionName()" when it is not active
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d0d7c134ebb7 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#247264 and bz#248003 rollbacked changes made to display native session name in mixed development as it brakes debugger
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e2d4b72d19f3 User: Maria Dalmatova <mromashova@netbeans.org> Log: fixed bz#247264 and bz#248003 rollbacked changes made to display native session name in mixed development as it brakes debugger (transplanted from d0d7c134ebb7e07a7fad2eca5a585eb8b9137dd9)