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.
INFO [dlight.libs.common.logger]: Should not be called from UI thread java.lang.Exception: Should not be called from UI thread at org.netbeans.modules.dlight.libs.common.DLightLibsCommonLogger.assertNonUiThread(DLightLibsCommonLogger.java:131) at org.netbeans.modules.dlight.libs.common.DLightLibsCommonLogger.assertNonUiThreadOnce(DLightLibsCommonLogger.java:141) at org.netbeans.modules.cnd.utils.CndUtils.assertNonUiThread(CndUtils.java:338) at org.netbeans.modules.cnd.remote.server.RemoteServerList.get(RemoteServerList.java:212) at org.netbeans.modules.cnd.remote.server.RemoteServerList.get(RemoteServerList.java:194) at org.netbeans.modules.cnd.remote.server.RemoteServerList.get(RemoteServerList.java:85) at org.netbeans.modules.cnd.api.remote.ServerList.get(ServerList.java:101) at org.netbeans.modules.cnd.remote.projectui.actions.ConnectionStatusActionPerformer$1.run(ConnectionStatusActionPerformer.java:148) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
It was just a wrong assertion - I removed it. I analysed the code that is called and found no slowness. Should there appear some slow place on the stack, the assertion should be placed exactly in this place, not here. Fixed in http://hg.netbeans.org/cnd-main/rev/b2038f3149ba
Integrated into 'main-silver', will be available in build *201608170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b2038f3149ba User: Vladimir Kvashin <vkvashin@netbeans.org> Log: Fixed #267605 - "Should not be called from UI thread" exception when updating remote tool bar Just removed wrong assertion. I analyzed the code that is called and found no slowness there, so no need for this assertion. Should there appear some slow place on the stack, the assertion should be placed exactly in this place, not here.