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 46412 - Refactoring's WhereUsedAction.enabled accesses beginTrans in the AWT Thread
Summary: Refactoring's WhereUsedAction.enabled accesses beginTrans in the AWT Thread
Status: RESOLVED DUPLICATE of bug 46408
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 45449
  Show dependency tree
 
Reported: 2004-07-21 21:40 UTC by Jan Lahoda
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
beginTrans called in the AWT Event Dispatch Thread. (4.25 KB, text/plain)
2004-07-21 21:41 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-07-21 21:40:18 UTC
NB trunk continuous build 20040721-1416 (plus mdr
"module" checked out with tag BLD200407211800),
JDK1.4.2_05.

See the attached stack trace: it seems that the
WhereUsedAction.enabled calls beginTrans in the
AWT Event Dispatch Thread, which may cause that
the thread is blocked until another transaction
ends (which may take a while). Please avoid
calling beginTrans in the AWT Event Dispatch
Thread, if possible.
Comment 1 Jan Lahoda 2004-07-21 21:41:08 UTC
Created attachment 16378 [details]
beginTrans called in the AWT Event Dispatch Thread.
Comment 2 Jan Becicka 2004-07-22 07:15:01 UTC
Does anybody know, why JavaDataObject.getCookie() does its job in MDR
transaction?
Comment 3 Jan Becicka 2004-07-22 16:39:56 UTC

*** This issue has been marked as a duplicate of 46408 ***