Eclipse Marketplace error - Unexpected exception: org/eclipse/equinox/internal/p2/repository/RepositoryTransport
Asked Answered
B

20

30

When I try to surf the Marketplace in Eclipse it gives me this :

Unexpected exception: org/eclipse/equinox/internal/p2/repository/RepositoryTransport
java.lang.reflect.InvocationTargetException

what might be the problem? any solutions?

Bretbretagne answered 12/5, 2012 at 7:58 Comment(3)
Which version of Eclipse you're using? Could be you're running in bugs.eclipse.org/bugs/show_bug.cgi?id=334686Quathlamba
thanx for the reply man but i fixed it. I use Eclipse Indigo and i had used the helios repository.Bretbretagne
Reviewing the different answers, it looks like lots of different things can cause this same error. The one checking for and installing updates fixed it for me on Neon.Quartern
G
13

I experienced this issue when the SOCKS proxy in eclipse was incorrectly configured. My machine which sits in a LAN connects to the internet using an HTTP proxy. In the Network Connections tab in eclipse, i had configured the HTTP, HTTPS and SOCKS proxy. The SOCKS proxy was not required in this case, and on clearing the SOCKS proxy, the error disappeared and Eclipse Marketplace became accessible...woohoo !!

Resolution Steps

  1. In Eclipse, click Windows -> Preferences
  2. Search for 'Network Connections' in the 'filter' textbox
  3. Set HTTP and HTTPS proxies correctly ( If you are connecting to the internet using a proxy)
    Note : If you are connecting to the internet without proxy, use the 'Direct' profile setting in the 'ActionProvider' drop down. Else use the 'Manual' setting.
  4. Set SOCKS proxy ( If you have a SOCKS proxy server configured), otherwise clear this row.
  5. Apply the changes and save it.

Now Marketplace should become accessible for you.

For details on Network Connections configuration in Eclipse, use the following link

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm&_sm_au_=iDMfvB6nQs52SSSM

Guardado answered 27/3, 2014 at 14:27 Comment(0)
R
22

This problem raises because you could not access your Internet via eclipse. There could be a solution among answers listed above. I solve this problem with different approach. Linux has built-in SSH support to it is always important to check the local host address. And also no need to bypass traffic. So you can Go to

Window-> Preferences -> General -> Network Connection.

Now remove the proxy bypass and clear SOCKS IP.

NOTE:- This will work if your have proxy server. Thank You

Renault answered 8/3, 2013 at 12:19 Comment(0)
G
13

I experienced this issue when the SOCKS proxy in eclipse was incorrectly configured. My machine which sits in a LAN connects to the internet using an HTTP proxy. In the Network Connections tab in eclipse, i had configured the HTTP, HTTPS and SOCKS proxy. The SOCKS proxy was not required in this case, and on clearing the SOCKS proxy, the error disappeared and Eclipse Marketplace became accessible...woohoo !!

Resolution Steps

  1. In Eclipse, click Windows -> Preferences
  2. Search for 'Network Connections' in the 'filter' textbox
  3. Set HTTP and HTTPS proxies correctly ( If you are connecting to the internet using a proxy)
    Note : If you are connecting to the internet without proxy, use the 'Direct' profile setting in the 'ActionProvider' drop down. Else use the 'Manual' setting.
  4. Set SOCKS proxy ( If you have a SOCKS proxy server configured), otherwise clear this row.
  5. Apply the changes and save it.

Now Marketplace should become accessible for you.

For details on Network Connections configuration in Eclipse, use the following link

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm&_sm_au_=iDMfvB6nQs52SSSM

Guardado answered 27/3, 2014 at 14:27 Comment(0)
C
11

I have installed version 3.7.2 of eclipse indigo and run into the exact same issue (after a clean eclipse/marketplace install). I resolved the problem by updating the marketplace plugin to a more recent version (in eclipse go to "Help -> Check for Updates" and the update should be listed there).

Certified answered 25/5, 2012 at 19:5 Comment(1)
+1 - I needed this as the version of Indigo that I had was 3.7.0. I found the Marketplace update among a great many updates to bring me up past 3.7.0Maryleemarylin
S
4

I have got the same problem with eclipse indigo. I figure out the eclipse doesn't find the appropriate network Proxy for my network, because by default it uses window's proxy. So i just set windows network Proxy using control Panel or you can set it through Internet explorer.This worked for me.

Stuckey answered 26/5, 2012 at 19:54 Comment(1)
I had to disable my proxy settings in Explorer and the eclipse juno marketplace worked properly :) +1Bethel
S
4

I had the same problem, but using firefox. Fixed it by changing

firefox>tools>options>advanced: network tab: settings:

and then selecting Auto-detect proxy settings for this network.

After I did this eclipse connected to the marketplace with no prob.

Scholem answered 3/12, 2012 at 16:58 Comment(1)
This will have been because Firefox was your default browser and was therefore a client for defining your system's proxy settings. Thus, for those reading this Q for help, for Firefox, read whatever is your default browser.Maryleemarylin
K
4

If you are a constant proxy changer like me for various reasons (university, home, workplace and so on…) you are most likely to get this error due to improper configuration of connection settings in the eclipse IDE. All you have to do it play around with the current settings and get it to working state. Here's how:

  1. Go to Window-> Preferences -> General -> Network Connection.
  2. Change the Settings: Active Provider-> Manual-> check---> HTTP, HTTPS and SOCS
  3. That's all, restart Eclipse and you are good to go!
Kissable answered 16/8, 2014 at 6:6 Comment(1)
Thank you,it is working fine,what a great answers this isTrillbee
M
3

I recently had this issue after making the switch to JDK 7 in Eclipse.

I solved the problem by changing the selected Installed JRE back to JDK 6 (Preferences -> Java -> Installed JREs). After making this change I could access the Marketplace.

Once I'd finished with the installing what I needed from the marketplace I switched my installed JRE back to the JDK 7 one.

Mariano answered 22/4, 2013 at 21:45 Comment(0)
E
2

I suffered a similar exception, tried out all the possible proxy settings and later found that the problem is with jre7.

This is what worked for me:

I replaced jre7 with jre6 and now it's working fine.

jre7 has some security issues so that was creating a problem in accessing proxy. if java1.7 is your project requirement u can install jdk1.7 and set java home as jdk1.7, but uninstall jre7 so the eclipse backend and other system components will use jre6, but the developed application will be jdk1.7 compliant.

Eipper answered 25/1, 2013 at 6:36 Comment(1)
You can run Eclipse under Java 6 without uninstalling Java 7, by passing the -vm argument to eclipse.exe: "C:\Program Files\eclipse\eclipse.exe" -vm "C:\Program Files\Java\jre6\bin\javaw.exe" This works nicely because Eclipse will still launch your app in Java 7 because it runs under a separate VMPloch
R
1

Simply check you browser settings in the eclipse windows -> web browser. Eclipse reads the settings of the browser selected in this menu.

Romanticize answered 9/4, 2013 at 12:8 Comment(0)
E
1

I did nothing. Just restarted eclipse and tried after sometime. It worked!! May be marketplace.eclipse.org was down for a while.

Employ answered 1/5, 2013 at 16:56 Comment(0)
T
1

I fixed this problem by (1) changing windows->preferences->gerneral->network connection: Active provider to "Manual". (2) configure the "proxy entries" below. Since my proxy listens on 8087 on my localhost, here is my configuration:

http : 127.0.0.1:8087
https : 127.0.0.1:8087
Tucana answered 17/6, 2013 at 1:40 Comment(0)
I
1

None of these answers were the solution for my problem (though I'm sure they'll help some people). My issue was not a proxy setting, nor was it my JVM version. I'm using Indigo (3.7.2) and my Marketplace plugin (MPC) was indeed out of date, but Help -> Check For Updates did not list it so it took a while for me to realize that this was actually the problem.

I was able to solve the problem by manually upgrading the Marketplace plugin, via Help -> Install New Software, selecting the Indigo repo, and then filtering for Marketplace and installing the plugin from the list.

Incorporation answered 19/8, 2013 at 19:48 Comment(0)
F
1

If you're behind a proxy, there should be a configuration script in your IE Lan setting. You can find it either in IE or google setting. E.g in IE

  1. go to "internet options->Connections->Lan settings" and make sure "Use automatic configuration script" is selected
  2. In eclipse, go to "Windows->preferences->General->Networc connection and make it "Native"
  3. eclipse should already find and select it. E.g. Schema: HTTP
    Host: Dynamic Port: Dynamic Provider: Native Auth: No Username: //blank Passwrod: //blank
Fatback answered 4/11, 2013 at 17:35 Comment(0)
E
1

i had the same issue for Jrebel. I tried all above, was not working for me.

Solution worked:

  1. Restart Eclipse
  2. Go to - Preferences > General > Network Connections
  3. Change to Direct (all will be empty)

Jrebel activated successfully.

Erk answered 3/7, 2019 at 16:14 Comment(0)
A
0

I'm having the same issue. Using MyEclipse Enterprise Workbench 10.6. I have the proxy properly set in IE/Explorer... and if I change I can't get out of the corporate network. I have internet just fine. Eclipse just doesn't seem to use what is set. I actually DON'T think eclipse recognizes the IR proxy... I don't think it recognizes any proxy at all. So if you're behind a corporate security solution like me, and require a proxy, you're out of luck.

FIXED: MyEclipse was picking up the proxy, however you then must TELL it use them. Under MyEclipse>Preferences>General>network Connections, change Active Provider from direct to native, and you should double check the native proxies ME has discovered are correct.

Agribusiness answered 27/12, 2012 at 15:31 Comment(0)
T
0

goto preferences => network connection

set proxy connection = Direct

Toscanini answered 27/9, 2013 at 16:20 Comment(0)
T
0

If you have google chrome. Then go to chrome Settings --> Change proxy Settings --> LAN Settings, then check Automatically detect settings then OK. Then hopefully things will start working

Thistly answered 30/9, 2013 at 13:8 Comment(0)
S
0

If you are connected with Wi-Fi or LAN then just go to Eclipse preference -> General -> Network Connection -> Active Provider : In the drop down select "Direct" and apply. This solves the issues.

Survey answered 11/2, 2014 at 21:3 Comment(0)
M
0

I had same issue and I resolved it by removing java7 and added java6 in java compiler compliance on all my integrated java projects.

Mahdi answered 22/7, 2014 at 7:8 Comment(0)
G
0

I fixed it by:
* goto preferences => network connection
* Select the HTTP entry and press Clear.
* Enter the settings for the proxy again
* Select the HTTPS entry and press Clear.
* Enter the settings for the proxy again
* Press Apply Button

Gadolinium answered 26/8, 2016 at 8:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.