question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

STS 4.2.0.RELEASE fails to update with "An error occurred while collecting items to be installed"

See original GitHub issue

Similar to #79, STS fails to update with below error. I have tried the “Reload” suggestion in #79, but still the issue persists. Find also below the contents of “Available Software Sites”. I’m not clear on which should be there, or can be removed or re-instated as #79 somewhat suggests.

Ultimately, I just wish to upgrade to 4.2.2 using the “Help | Check for Updates” menu as I have done in the past.

Win10 x64 launched via Java 8 Oracle JDK.

image

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.eclipse.lsp4e,0.9.1.201904121104 No repository found containing: osgi.bundle,org.eclipse.xtext.xbase.lib,2.18.0.v20190408-0319 No repository found containing: osgi.bundle,org.springframework.boot.ide.branding,4.2.1.201904170946-RELEASE No repository found containing: osgi.bundle,org.springframework.ide.eclipse.beans.ui.live,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.dash,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.launch,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.refactoring,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.restart,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.templates,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.validation,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.boot.wizard,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.buildship20,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.buildship30,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.cloudfoundry.manifest.editor,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.editor.support,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.ide.eclipse.imports,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springframework.tooling.boot.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.bosh.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.cloudfoundry.manifest.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.cloudfoundry.manifeast.ls.integration,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.concourse.ls,1.6.0.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.jdt.ls.commons,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.ls.eclipse.commons,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springframework.tooling.ls.eclipse.gotosymbol,4.2.1.201904170912 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.cloudfoundry.client.v2,3.9.9.201904162228-CI-B2221 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.core,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.frameworks.core,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.frameworks.ui,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.jdk_tools,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.livexp,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.quicksearch,3.9.9.201904121913-CI-B463 No repository found containing: osgi.bundle,org.springsource.ide.eclipse.commons.ui,3.9.9.201904121913-CI-B463 No repository found containing: org.eclipse.update.feature,org.springframework.boot.ide.branding.feature,4.2.1.201904170946-RELEASE No repository found containing: binary,org.springframework.boot.ide.branding.sts4.executable.win32.win32.x86_64,4.2.1.201904170946-RELEASE No repository found containing: org.eclipse.update.feature,org.springframework.boot.ide.main.feature,4.2.1.201904170946-RELEASE No repository found containing: binary,org.springframework.boot.ide.main.feature_root,4.2.1.201904170946-RELEASE No repository found containing: org.eclipse.update.feature,org.springframework.ide.eclipse.boot.dash.feature,3.9.9.201904162228-CI-B2221 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.boot.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.bosh.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.cloudfoundry.manifest.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.cloudfoundry.manifest.ls.integration.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springframework.tooling.concourse.ls.feature,4.2.1.201904170912 No repository found containing: org.eclipse.update.feature,org.springsource.ide.eclipse.commons.quicksearch.feature,3.9.9.201904121913-CI-B463

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
tjstuartcommented, May 8, 2019

Issue resolved following suggestion around clearing the list of sites. Steps were as below

  • Export list of “Available Software Sites” to file (bookmarks.xml)
  • Cleared list of “Available Software Sites”
  • Edited xml file and removed those “e*” entries relating to “Spring Tool Suite 4” - kept just the “latest” one
  • Restarted STS
  • Imported xml file
  • Restarted STS (perhaps not necessary)
  • Help | Check for Updates
  • Success am now using 4.2.1

One question though … I left the below “e4.8” entry relating to the language server. Should I remove this also? Below is all the entries relating to “springsource”.

<site url="https://download.springsource.com/release/TOOLS/sts4/update/latest" selected="true" name="Spring Tool Suite 4"/>

<site url="https://download.springsource.com/release/TOOLS/sts4-language-servers/e4.8" selected="true" name="Spring Tooling Language Servers for Eclipse"/>

<site url="https://download.springsource.com/release/TOOLS/sts4-language-server-integrations" selected="true" name="Spring Tools 4 Language Servers for Eclipse"/>

2reactions
martinlippertcommented, May 8, 2019

In case you already tried the “Reload” option and that didn’t help, I would recommend to export all the update sites to a file, then delete them from the list in Eclipse/STS, and restart Eclipse/STS. Then re-import the list of update sites from the file again (there are buttons for that to the right of that list on the preference page). That should wipe out the stale cache data entirely.

In addition to that you should also remove the e4.9 and e4.10 versions of the Spring Tools 4 update site from the list of available update sites first. As long as you have the latest in there, it is fine and you should always get the latest release.

The latest release version is 4.2.1 at the moment, btw. That is why I am a bit confused about your comment mentioning version 4.2.2. We currently work on that version. If you want to update to the latest nightly build of that, you could do that, too, but keep in mind that it is a continuous integration build, so you would always get the latest build, not the latest release. The p2 repo URLs for the nightly builds can be found here: https://dist.springsource.com/snapshot/STS4/nightly-distributions.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

An error occurred while collecting items to be installed ...
I just solved this problem by unchecking Read only checkbox of the Program Files/eclipse folder on ...
Read more >
[Solved]-Items decorations in a TreeViewer-eclipse - appsloveworld
Coding example for the question Items decorations in a TreeViewer-eclipse. ... SDK update error) An error occur while collecting items to be installed...
Read more >
Oracle WebLogic Server Tools - Eclipse Marketplace
I tried install the las version and i have this error: An error occurred while collecting items to be installed session context was:(profile=_ ......
Read more >
Install - PyDev
If it doesn't work, try restarting Eclipse with the -clean flag (if you're a regular user and installing with admin, make sure you...
Read more >
Hyperglance Release Notes - Before You Start
Exposing additional error detail when error dialogue fails. Release 7.0.5. 24 October 2022. ⚠️ Bugs Fixed. Fixes a NullPointerException when collecting Azure ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found