Eclipse 4.17.0 - Cannot open Eclipse Marketplace - NullPointerException

1k Views Asked by At

After upgrading to Eclipse 4.17 running Eclipse Marketplace results in an NPE.

Marketplace 1.8.5v20200902-1804

Running with Java 14

Any advise please.

This is the error from the dialog box...

Cannot open Eclipse Marketplace Cannot install remote marketplace locations java.lang.NullPointerException

This is from the log file...

java.lang.NullPointerException
at org.eclipse.epp.mpc.ui.CatalogDescriptor.imageDescriptorForUrl(CatalogDescriptor.java:106)
at org.eclipse.epp.mpc.ui.CatalogDescriptor.<init>(CatalogDescriptor.java:87)
at org.eclipse.epp.internal.mpc.ui.commands.AbstractMarketplaceWizardCommand.installRemoteCatalogs(AbstractMarketplaceWizardCommand.java:205)
at org.eclipse.epp.internal.mpc.ui.commands.AbstractMarketplaceWizardCommand.createConfiguration(AbstractMarketplaceWizardCommand.java:92)
at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.createConfiguration(MarketplaceWizardCommand.java:64)
at org.eclipse.epp.internal.mpc.ui.commands.AbstractMarketplaceWizardCommand.execute(AbstractMarketplaceWizardCommand.java:67)
2

There are 2 best solutions below

0
On

Also stumbled upon this error with my Eclipse 4.18 and the above mentioned Marketplace Client 1.9.0.v20201125-0811.

Solved this by updating the Marketplace Client manually (-> Install New Software...) with the following update site: http://download.eclipse.org/mpc/drops/1.9.0/v20210108-0835/

So the (currently) most recent version worked fine for me.

0
On

This was resolved with the release of MarketPlace 1.8.5v20201009-0749