JavaEar 专注于收集分享传播有价值的技术资料

Eclipse: An internal error occurred during "Contacting Software Sites"

I'm using Eclipse Indigo. Every time I opened "Install New Software" I get a pop-up window with

'Contacting Software Sites' has encountered a problem. An internal error occurred during "Contacting Software Sites".

and when I click the details, I get the following message

An internal error occurred during: "Contacting Software Sites". java.lang.NullPointerException

This error prevents me to install any software. Anybody knows the problem ?!

2个回答

    最佳答案
  1. This happened in my eclipse some time ago.

    what i did is that i expanaded the error by clicking detail in error popup note down the url that caused it and deleted that in windows->preference->install/update->Available Software Sites

  2. 参考答案2
  3. Remove the files in the cache from the following folder and install again from Help -> Install New Software -> [add update site URL] -> and so forth...

    .eclipse\org.eclipse.oomph.p2\cache
    

    And this location should be in your user's directory. For me it was like this:

    C:\Users\rahmanmahbubur\.eclipse\org.eclipse.oomph.p2\cache