I'm getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the error.
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to write to repository: file:/C:/Program%20Files/eclipse/.
C:\Program Files\eclipse\plugins\org.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)
Kindly provide the solution.
Thanks
This question is related to
eclipse
eclipse-plugin
eclipse-indigo
Installig Eclispe ADT from market place solved this problem for me.
I got this error on my ubuntu box until I ran eclipse as root and installed from there:
$ gksudo eclipse
Eclipse was trying to download the packages to /usr/lib/* where I don't have write permissions
I just solved this problem by unchecking Read only
checkbox of the Program Files/eclipse
folder on win7.
Apply to all files and folders.
I had also the ADT Bundle that had the HTTP as update url. Changing it to HTTPS solved the problem for me.
if you do not wish to change the eclipse directory, then start eclipse as administrator (right click run as administrator) and install the feature again. it worked for me.
I solved the problem very easily.
Go to Control Panel -> Network and Sharing Center -> Windows Firewall -> Turn off Windows Firewall
And try to install again and see the magic :)
If you have problems using the location: http://dl-ssl.google.com/android/eclipse/, try editing the location by replacing "http" with "https" or the other way round.
None of the above worked for me.
Instead, I tried installing the plugins I needed via the Eclipse Market Place, and that worked without issue.
If there are any proxy networks are configured remove them till plugins are installed
Changing from https:// to http:// worked for me
In my case I entered:
Error Log - found "An error occurred while collecting items to be installed" - right click and select "Open Log". From there I know what goues wrong(in my case PMD). I solve the problem in one project and all works ok.
Source: Stackoverflow.com