简体   繁体   中英

Eclipse 4.17.0 - Cannot open Eclipse Marketplace - NullPointerException

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)

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.

随着 MarketPlace 1.8.5v20201009-0749 的发布,此问题已得到解决

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM