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 207119 - Remote file chooser can stop working at all if there is a problem reading a directory
Summary: Remote file chooser can stop working at all if there is a problem reading a d...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 11:04 UTC by Vladimir Kvashin
Modified: 2012-06-09 12:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed fix (977 bytes, patch)
2012-01-10 11:04 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2012-01-10 11:04:24 UTC
Created attachment 114763 [details]
proposed fix

If there is a directory with a very slow access (imagine /net on remote location), then remote file chooser stops working at all, even with other directories.

The reason is that SFTP task isn't properly canceled in the case calling thread is interrupted.
Comment 1 Vladimir Kvashin 2012-01-10 15:55:25 UTC
The danger of this effect is that, as soon as such situation occurs, all sftp channels become busy and no remote file operations are possible at all since that moment and until IDE restart.

Fixed:

blacktie:
rev/803e5f77bc94
cnd-main:
http://hg.netbeans.org/cnd-main/rev/aa45724842ad
Comment 2 Quality Engineering 2012-01-11 16:16:09 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/aa45724842ad
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #207119 - Remote file chooser can stop working at all if there is a problem reading a directory
(transplanted from 803e5f77bc946d93f8651cc8714a915afd561a7c)
Comment 3 Alexander Pepin 2012-01-13 17:29:34 UTC
Can not reproduce this in build from blacktie.
Comment 4 Vladimir Kvashin 2012-01-17 15:05:47 UTC
Integrated into release71_fixes:
http://hg.netbeans.org/releases/rev/2804cc18aa41
Comment 5 Alexander Pepin 2012-02-27 13:38:24 UTC
can not reproduce in 7.1.1 rc1 build (20120214)
Comment 6 Alexander Pepin 2012-06-09 12:41:03 UTC
Can not reproduce in OSS IDE built on NB 7.0.1 patch3