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 162179 - can't cancel uploading
Summary: can't cancel uploading
Status: RESOLVED DUPLICATE of bug 200818
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
: 168140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-07 23:40 UTC by Filip Zamboj
Modified: 2011-09-01 13:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (14.82 KB, text/plain)
2009-04-07 23:41 UTC, Filip Zamboj
Details
messages log (30.31 KB, text/plain)
2009-04-07 23:42 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-04-07 23:40:32 UTC
Product Version: NetBeans IDE Dev (Build 090407)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02

at one point netbeans lost connection with server, for some reason (I have no idea why). Anyway, it kept uploading but
there was no activity visible on the server. So I tried to cancel process. No result. Well, I guessed that it is trying
to finish some upload and I disconnected server. Upload was still running even 10 minutes after what's not expected.
Comment 1 Filip Zamboj 2009-04-07 23:41:28 UTC
Created attachment 79690 [details]
thread dump
Comment 2 Filip Zamboj 2009-04-07 23:42:19 UTC
Created attachment 79691 [details]
messages log
Comment 3 Tomas Mysik 2009-04-23 16:23:46 UTC
Unfortunately, NB cannot do anything, the process hangs in FTP library. The only possible fix is to restart the IDE.
(Cancel cannot help here because it is taken into account only among individual file transfers.)
Comment 4 Filip Zamboj 2009-04-23 16:49:23 UTC
it's reproducible in nb67beta. Just try to disconnect network while you are uploading. Isn't there some way like, set up
a timeout, for instance?
Comment 5 Tomas Mysik 2009-04-24 12:11:04 UTC
Could be fixed - timeout should expire, cancel cannot work during file transfer (do not reopen, there's nothing more we can do IMHO).
Verify also using SFTP if possible. Thanks.
http://hg.netbeans.org/web-main/rev/4b50d5693f12
Comment 6 Quality Engineering 2009-04-25 07:24:31 UTC
Integrated into 'main-golden', will be available in build *200904250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4b50d5693f12
User: Tomas Mysik <tmysik@netbeans.org>
Log: #162179: can't cancel uploading
Comment 7 Tomas Mysik 2009-07-07 13:42:49 UTC
*** Issue 168140 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Mysik 2009-07-07 13:44:51 UTC
Apparently not fixed but probably not fixable on NB site => P4 FUTURE as a reminder.
Comment 9 Filip Zamboj 2010-09-15 12:36:32 UTC
batch reassigning
Comment 10 Tomas Mysik 2011-06-09 11:10:21 UTC
Still valid.
Comment 11 Tomas Mysik 2011-09-01 13:50:37 UTC
Duplicate, see issue #200818 for more information.

*** This bug has been marked as a duplicate of bug 200818 ***