Getting error while updating Eclipse updates - eclipse

I am facing problem while taking updates for Eclipse, my error is :
An error occurred while collecting items to be installed session context was:(profile=C__Users_punam_eclipse_java-mars_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.jst.common.project.facet.core,1.4.400.v201403261500?

It looks like you have issues with your internal Eclipse cache.
I would suggest to rename (not delete!)
- USERHOME.p2\pool
- USERHOME.eclipse\org.eclipse.oomph.p2
and try the update again.

Related

Eclipse RCP Product Export : An error occurred while collecting items to be installed

Hello I am exporting an Eclipse RCP Product.
I used to export without any problem before...but now I keep getting the following error messages when exporting the product.
Target has not been changed at all.
When I install new eclipse and change to a new workspace, it works fine.
but After that, it does not work.
I attached the error message..
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.apache.ant,1.9.6.v201510161327.
Problems downloading artifact: osgi.bundle,org.eclipse.pde.build,3.9.200.v20160204-0642.
Help Please.

I am getting error in eclipse while installing ObjectAid

Below is the error I am getting
An error occurred while collecting items to be installed
Unable to read repository at http://www.objectaid.net/update/plugins/com.objectaid.uml_1.1.10.jar.
Premature end of Content-Length delimited message body (expected: 1107319; received: 367016
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
I found a solution at https://mcuoneclipse.com/2015/06/15/workaround-for-installing-software-has-encountered-a-problem-in-eclipse/.
I unchecked the option to Contact all update sites during install to find required software in the Available Software menu and it worked:

Unable to update Eclipse / STS 3.7.3

After fresh install of Spring Tool Suite 3.7.3 (and adding the Subclipse plugin), update comes up with the error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.sonatype.m2e.buildhelper,0.15.0.201212120353
No repository found containing: x,0.14.0.201509090157
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.buildhelper.feature,0.15.0.201212120353
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.egit.feature,0.14.0.201509090157
M2E and Sonatype seem to be involved in this somehow.
How to get rid of this error? And what about the missing "x" artifact?
Going to Help -> Installation details and uninstalling several components that related to M2E and Sonatype got me rid of this error message.

how to add maven plugin to eclipse

I am new to maven. I was trying to add the maven plugin to eclipse(indigo). The problem I am facing is that when I try to add the plugin using 'Help -> Install new software' using URL http://download.eclipse.org/releases/indigo the download process starts and then stops with an error
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.emf,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120130-0943
...........
...........
Also when I try to install the plugin using http://download.eclipse.org/technology/m2e/releases then the installation gets stuck 48% and after a long time it again displays an error message:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
............
............
Kindly suggest if there is something wrong with the installation process I am using.
Also suggest if there is some other method to add 'maven plugin for eclipse'.
Thanks
Check Contact all update sites during install to find required software option before installing m2e.

How do I install Aptana plugin in Eclipse 3.7?

I'm trying to install the Aptana Studio 3 plugin into Eclipse 3.7 on Ubuntu, but it is failing with the message
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.4.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.6.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.7.0.dist
No repository found containing: osgi.bundle,org.junit,3.8.2.v3_8_2_v20100427-1100
The package URL I'm using is http://download.aptana.com/studio3/plugin/install. What am I doing wrong?
Update: I followed sgibly's advice below and now the install gets to about 49% before failing with this message:
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
Try this:
Open the Eclipse Preferences and look for Install/Update->Available Software and make sure that the Indigo update site is selected.
If it's not selected, add http://download.eclipse.org/eclipse/updates/3.7 and try to install the Studio again.
Hope that helps.