Bug 183434 - Unhelpful error message from update
Summary: Unhelpful error message from update
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC3   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-04-20 14:40 EDT by Boris Bokowski CLA
Modified: 2007-06-05 16:36 EDT (History)
3 users (show)

See Also:
bokowski: review+
dj.houghton: review+


Attachments
show exception message in details (1.09 KB, patch)
2007-05-06 17:44 EDT, Jacek Pospychala CLA
no flags Details | Diff
patch result (18.87 KB, image/jpeg)
2007-05-06 17:48 EDT, Jacek Pospychala CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Bokowski CLA 2007-04-20 14:40:16 EDT
[3.3M6]

I have a hard time downloading and installing all of Europa using the update manager.  The error messages are not helpful at all ("Problem Occurred: Update operation has failed"), I have to go to the error log to find out which feature or plugin could not be downloaded.

This is what I see in the error log, could this information be displayed in the general error message dialog?

org.eclipse.update.internal.core.FatalIOException: Server returned HTTP response code: "404 Not Found" for URL: http://fullmoon.ottawa.ibm.com/releases/europa/plugins/org.eclipse.gmf.sdk_1.0.0.v20070403-1500.jar.
at org.eclipse.update.internal.core.UpdateManagerUtils.checkConnectionResult(UpdateManagerUtils.java:561)
at org.eclipse.update.core.ContentReference.getInputSize(ContentReference.java:196)
at org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentProvider.java:228)
at org.eclipse.update.internal.core.FeaturePackagedContentProvider.retrieveLocalJar(FeaturePackagedContentProvider.java:232)
at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPluginEntryArchiveReferences(FeaturePackagedContentProvider.java:179)
at org.eclipse.update.internal.operations.UpdateUtils.downloadFeatureContent(UpdateUtils.java:628)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.download(InstallWizard2.java:426)
at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$3(InstallWizard2.java:397)
at org.eclipse.update.internal.ui.wizards.InstallWizard2$3.run(InstallWizard2.java:350)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Jacek Pospychala CLA 2007-05-06 17:41:57 EDT
I hit the same problem.
Comment 2 Jacek Pospychala CLA 2007-05-06 17:44:52 EDT
Created attachment 66036 [details]
show exception message in details

Assuming messages in all exceptions are as detailed as the one Boris mentions ("404"), simply displaying this message in error dialog Details gives much more help to user.
Comment 3 Jacek Pospychala CLA 2007-05-06 17:48:59 EDT
Created attachment 66037 [details]
patch result
Comment 4 Boris Bokowski CLA 2007-06-01 13:57:10 EDT
Dejan, this patch is one of the safest I've seen, and it really helps end users.  Why did you remove the target milestone?
Comment 5 Dejan Glozic CLA 2007-06-01 14:19:12 EDT
Sorry, the fatigue is sneaking up on me. I checked the 'patch result' link and saw the screenshot so I assumed there was no patch (the name of the actual patch is 'show exception message in details', which does not help when quickly scanning the page :-).
Comment 6 Dejan Glozic CLA 2007-06-01 14:19:38 EDT
DJ, I am making you work today :-).
Comment 7 DJ Houghton CLA 2007-06-01 14:26:32 EDT
I know. And even though I told Kim I wouldn't make her do any re-builds I'm wondering if it counts that I am +1'ing other people's contributions. :-)
Comment 8 Dejan Glozic CLA 2007-06-01 14:32:24 EDT
Techically you are not - there is a 3pm rebuild anyway :-).
Comment 9 Dejan Glozic CLA 2007-06-01 14:38:18 EDT
Fixed.