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 172351 - "Should not be called from UI thread" in 'Races and Deadlocks Detection' tab
Summary: "Should not be called from UI thread" in 'Races and Deadlocks Detection' tab
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: All Solaris
: P3 blocker (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 08:10 UTC by soldatov
Modified: 2009-09-22 09:58 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 soldatov 2009-09-16 08:10:03 UTC
Scenario:
- Open ThreadAnalyzerDemo
- Select 'actual_deadlock' configuration
- Start Thread Analyzer tool
- Click on 'Pause Data Collection' button in 'Races and Deadlocks Detection' tab
java.lang.Exception: Should not be called from UI thread
	at org.netbeans.modules.nativeexecution.support.Logger.assertTrue(Logger.java:71)
	at org.netbeans.modules.nativeexecution.support.Logger.assertFalse(Logger.java:82)
	at org.netbeans.modules.nativeexecution.support.Logger.assertNonUiThread(Logger.java:86)
	at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:225)
	at org.netbeans.modules.nativeexecution.api.util.CommonTasksSupport.sendSignal(CommonTasksSupport.java:277)
	at org.netbeans.modules.cnd.tha.actions.THAActionsProvider.sendSignal(THAActionsProvider.java:403)
	at org.netbeans.modules.cnd.tha.actions.THAActionsProvider$1.actionPerformed(THAActionsProvider.java:202)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4460)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Maria Tishkova 2009-09-16 09:07:24 UTC
fixed in http://hg.netbeans.org/cnd-main/rev/8fe742c944af
Comment 2 Quality Engineering 2009-09-18 22:23:35 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8fe742c944af
User: Maria Tishkova <mromashova@netbeans.org>
Log: fixed IZ#172351 Should not be called from UI thread in "Races and Deadlocks Detection" tab
Comment 3 soldatov 2009-09-22 09:58:35 UTC
verified in latest build