Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 277194 - cancel button doesn't work when "Discovering connectors"
Summary: cancel button doesn't work when "Discovering connectors"
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 272621
  Show dependency tree
 
Reported: 2009-05-20 15:00 EDT by Peter Stibrany CLA
Modified: 2009-05-20 23:54 EDT (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (1.64 KB, application/octet-stream)
2009-05-20 23:54 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Stibrany CLA 2009-05-20 15:00:34 EDT
"Cancel" button doesn't work: it doesn't stop immediately, and it doesn't even close dialog. After "discovery" finishes, list of connectors is empty, so it is somewhat cancelled.

Error log contains this "Unexpected error" log with stacktrace:

org.eclipse.core.runtime.OperationCanceledException
at org.eclipse.mylyn.internal.commons.net.PollingInputStream.read(PollingInputStream.java:159)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.eclipse.mylyn.internal.discovery.core.util.WebUtil.downloadResource(WebUtil.java:81)
at org.eclipse.mylyn.internal.discovery.core.model.RemoteBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteBundleDiscoveryStrategy.java:221)
at org.eclipse.mylyn.internal.discovery.core.model.RemoteBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteBundleDiscoveryStrategy.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Comment 1 David Green CLA 2009-05-20 23:53:55 EDT
thanks for the bug.  Fixed.
Comment 2 David Green CLA 2009-05-20 23:54:00 EDT
Created attachment 136600 [details]
mylyn/context/zip