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 42599 - Registration of new VCS FS is blocking AWT thread
Summary: Registration of new VCS FS is blocking AWT thread
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 43199
  Show dependency tree
 
Reported: 2004-04-29 12:04 UTC by Antonin Nebuzelsky
Modified: 2006-03-24 09:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread Dump (13.34 KB, text/plain)
2004-04-29 12:05 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-04-29 12:04:28 UTC
Click New... in the Versioning Manager.
Fill in the info about new VCS FS and finish the
wizard.
Now the IDE is blocked for quite a long time. See
the attached thread dump for hint of what happens
in AWT thread.
This must be done in a separate thread as
non-blocking.
Comment 1 Antonin Nebuzelsky 2004-04-29 12:05:23 UTC
Created attachment 14611 [details]
Thread Dump
Comment 2 Martin Entlicher 2004-04-29 12:14:20 UTC
This is really not nice. The filesystem is instantiated and registered
in AWT thread. I'll look at it...
Comment 3 Martin Entlicher 2004-05-17 09:54:29 UTC
Fixed in trunk. The action is made asynchronous:

/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/VcsMountFromTemplateAction.java,v
 <--  VcsMountFromTemplateAction.java
new revision: 1.21; previous revision: 1.20

/cvs/vcscore/src/org/netbeans/modules/vcscore/ui/fsmanager/VcsManager.java,v
 <--  VcsManager.java
new revision: 1.9; previous revision: 1.8
Comment 4 Antonin Nebuzelsky 2004-05-20 14:23:05 UTC
Verified in trunk build 20040520-1135.