Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338299 - java.lang.reflect.InvocationTargetException while installing plugins from update site
Summary: java.lang.reflect.InvocationTargetException while installing plugins from upd...
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 01:58 EST by JP CLA
Modified: 2011-06-12 20:07 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JP CLA 2011-02-26 01:58:13 EST
Build Identifier: 3.4.2

When i launch my eclipse rcp application. It throws the below exception while downloading and installing the plugins from update site.

Happens every time on some machines but not on all machines.

This leads to network connection failures and all the outlook applications just looses connection with server and also the internet connection goes off. Basically the lan connection is not there. I need to manually kill the process after which the connection comes back.

!ENTRY bla.bla.bla.installer 4 0 2011-02-26 11:29:36.858
!MESSAGE Exception in #installAndRollBackOnError:  Class name: java.lang.reflect.InvocationTargetException in method installAndRollBackOnError() Error installing features: null

!ENTRY bla.bla.bla.installer 4 0 2011-02-26 11:29:36.858
!MESSAGE Cause: org.eclipse.update.internal.core.FeatureDownloadException in method installAndRollBackOnError() Error installing features: An exception occured while downloading feature from ""http://blablabla:8080/bla.bla.bla/current/features/bla.bla.bla.feature_11.4.4.jar".

!ENTRY bla.bla.bla.installer 4 0 2011-02-26 11:29:36.858
!MESSAGE Cause: java.net.ConnectException in method installAndRollBackOnError() Error installing features: Connection timed out: connect

!ENTRY bla.bla.bla.installer 4 0 2011-02-26 11:29:36.858
!MESSAGE Cause: java.net.ConnectException in method installAndRollBackOnError() Error installing features: Connection timed out: connect

Reproducible: Always

Steps to Reproduce:
1.Create own rcp application and populate the plugins in an update site , preferably put the update site on apache web server
2. Try laucnhing your rcp applciation pointing to that update site
3. it should start downloading the plugins and installing them... and it just hangs after some time...The size of the plug-ins downloaded is around 150MB.
Comment 1 Andrew Niefer CLA 2011-05-03 11:12:49 EDT
Moving to p2, though this looks like the old update manager.
Comment 2 Pascal Rapicault CLA 2011-06-12 20:07:33 EDT
This is the old update manager. We no longer fix this.