Bug 16479 - Search for available updates hangs
Summary: Search for available updates hangs
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 16711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-20 16:28 EDT by Vlad Klicnik CLA
Modified: 2002-05-31 18:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Klicnik CLA 2002-05-20 16:28:36 EDT
I have a feature whose update URL is pointing to a non-existent site (actually 
the server exists, but the site.xml was not set up (server responds with 
generated page).

I click on "Available Updates" and Search. The search hangs with "Contacting 
Site ..." and never comes back.

I am not sure if this is caused by UI or core.
Comment 1 Vlad Klicnik CLA 2002-05-24 12:38:38 EDT
*** Bug 16711 has been marked as a duplicate of this bug. ***
Comment 2 Dejan Glozic CLA 2002-05-31 18:16:51 EDT
Fixed - the problem was only in the background search inside Update Manager - 
did not affect one-click update because the search is executing in the progress 
dialog context. The background progress was catching the core exception 
(invalid URL) but was neither reporting the exception nor cleanly terminating 
the progress monitor (by calling done()).

Fixed by adding 'done()' in the 'finally' block and by logging the error inside 
the background process (using async exec since SWT is involved).