Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Photon - Eclipse Marketplace not launching

Tags:

eclipse

I just installed Eclipse Photon. I migraded one project from Oxygen to it - everything is working fine.

The problem I noticed is that I cannot open the Eclipse Marketplace. Whenever I click on it, I get the loading circle for 1-2 seconds then nothing happens.

I also tried this on a completely new empty workspace (so no old .metadata) - same behavior. I also restarted PC - didn't help.

Any ideas? Is it me only that has this problem or is it a bug due to the new version?

Thanks.

like image 682
actunderdc Avatar asked Jun 28 '18 06:06

actunderdc


People also ask

Why Eclipse Marketplace is not opening in photon?

In recent versions of MyEclipse, the Eclipse Marketplace may not be accessible. Once done, restart the IDE to apply the changes. You should now see the Eclipse Marketplace entry in the Help > Install from Catalog dialog. This is caused due to the fact that the Eclipse Marketplace API now requires HTTPS.

How do I update my marketplace in eclipse?

Always enable major upgradesOpen the Available Software Sites preference page. Enable the Latest Eclipse release https://download.eclipse.org/releases/latest repository by ticking the checkbox. Apply and Close. Check for updates.


2 Answers

I managed to find the problem and fix it. I went to: Help -> About Eclipse IDE -> clicked on "Installation Details" -> tab "Configuration" -> Clicked on "View Error Log"

The default browser opened and there I noticed the following stack trace:

!ENTRY org.eclipse.ui 4 0 2018-06-28 10:38:21.036 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: Illegal character in path at index 16: file:/C:/Eclipse Photon/eclipse/configuration/     at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) 

It was the space character in the folder named by me: "Eclipse Photon". I renamed it to "EclipsePhoton" and the marketplace opened successfully.

Short answer: Make sure you do not have any spaces in the Eclipse installation file path.

like image 190
actunderdc Avatar answered Sep 21 '22 02:09

actunderdc


I fixed the issue with the solution from this link: https://www.chrisguindon.com/post/marketplace-client-not-opening-in-photon/

Steps:

  1. Go to Help > Install New Software
  2. Paste the Marketplace Client update site url into the “Work with” field: http://download.eclipse.org/mpc/photon
  3. Select the “EPP Marketplace Client” checkbox
  4. Follow the wizard and restart your Eclipse to finish the installation.
like image 44
Carlos Martinez Avatar answered Sep 19 '22 02:09

Carlos Martinez