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 91981 - Deadlock when exception is thrown during automated test
Summary: Deadlock when exception is thrown during automated test
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: T9Y
Depends on:
Blocks: 91682
  Show dependency tree
 
Reported: 2007-01-08 08:10 UTC by Jiri Skrivanek
Modified: 2007-01-11 10:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (15.80 KB, text/plain)
2007-01-08 08:11 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-01-08 08:10:47 UTC
A deadlock appears when an expection in IDE is thrown and UIGestures module
tries to report it. To reproduce start tests for web/jsf module:

- cd we/jsf/test
- ant -Dxtest.testtype=qa-functional

Build 20070108-0639, JDK1.5.0_10, JDK1.6.0.
Comment 1 Jiri Skrivanek 2007-01-08 08:11:35 UTC
Created attachment 37128 [details]
Thread dump
Comment 2 Jaroslav Tulach 2007-01-09 08:44:32 UTC
#92023 and # 91981: When an exception occurs, compute the UI Gestures 
Collector dialog asynchronously, but before showing it switch always back to 
AWT thread for construction of the UI elements.

Checking in src/org/netbeans/modules/uihandler/UIHandler.java;
/shared/data/ccvs/repository/logger/uihandler/src/org/netbeans/modules/uihandler/UIHandler.java,v  
<--  UIHandler.java
new revision: 1.10; previous revision: 1.9
done
Checking in src/org/netbeans/modules/uihandler/Installer.java;
/shared/data/ccvs/repository/logger/uihandler/src/org/netbeans/modules/uihandler/Installer.java,v  
<--  Installer.java
new revision: 1.36; previous revision: 1.35
done
Checking in manifest.mf;
/shared/data/ccvs/repository/logger/uihandler/manifest.mf,v  <--  manifest.mf
new revision: 1.13; previous revision: 1.12
done
Checking in test/unit/src/org/netbeans/modules/uihandler/BugTriggersTest.java;
/shared/data/ccvs/repository/logger/uihandler/test/unit/src/org/netbeans/modules/uihandler/BugTriggersTest.java,v  
<--  BugTriggersTest.java
new revision: 1.7; previous revision: 1.6
Comment 3 Jiri Skrivanek 2007-01-11 10:22:28 UTC
Verified.