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 98227 - Deadlock-prone call to EventQueue.invokeAndWait from FileUtil.getFileSystemView
Summary: Deadlock-prone call to EventQueue.invokeAndWait from FileUtil.getFileSystemView
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: REGRESSION, TEST
: 89945 (view as bug list)
Depends on: 98388
Blocks: 95031
  Show dependency tree
 
Reported: 2007-03-19 16:54 UTC by Jesse Glick
Modified: 2008-12-22 10:57 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 Jesse Glick 2007-03-19 16:54:55 UTC
See

http://ffjqa.czech/automatedtests/xtest/netbeans_dev/200703181900/qa-unit/qa-t4u-xp2/testrun_070319-000556/logs/ant_freeform_unit.log

EQ is waiting on CloneableEditorSupport.openDocument. But that is running in
another thread, which blocks on EQ. IMHO the Filesystems API should never block
on EQ for any reason. If getFileSystemView() is called off EQ, and
fileSystemView is still null, it should simply return null. This is only likely
to affect unit tests, and these would not typically be dealing with floppy disks
anyway.
Comment 2 rmatous 2007-03-20 16:47:16 UTC
/cvs/openide/fs/src/org/openide/filesystems/FileUtil.java,v  <--  FileUtil.java
new revision: 1.36; previous revision: 1.35
Comment 3 Tomas Pavek 2007-06-29 19:01:20 UTC
*** Issue 89945 has been marked as a duplicate of this issue. ***