Itema-as / dawn-marketplace-server

An open source Eclipse marketplace server. Compatible with the built-in marketplace client.
Eclipse Public License 1.0
6 stars 5 forks source link

java.net.URISyntaxException: Illegal character in scheme name at index 9: Favorites #105

Open turesheim opened 8 years ago

turesheim commented 8 years ago

Looks like a problem with the catalog retrieved from http://marketplace.eclipse.org/catalogs/api/p

java.net.URISyntaxException: Illegal character in scheme name at index 9: Favorites
        http://www.eclipse.org/community/eclipse_newsletter/2016/may
        http://marketplace.eclipse.org/sites/default/files/marketplace_catalog_icon_0.png
    at java.net.URI$Parser.fail(URI.java:2848)
    at java.net.URI$Parser.checkChars(URI.java:3021)
    at java.net.URI$Parser.parse(URI.java:3048)
    at java.net.URI.<init>(URI.java:588)
    at org.eclipse.epp.internal.mpc.core.util.URLUtil.toURI(URLUtil.java:24)
    at org.eclipse.epp.internal.mpc.ui.catalog.ResourceProvider.retrieveResource(ResourceProvider.java:274)
    at org.eclipse.epp.mpc.ui.CatalogDescriptor.imageDescriptorForUrl(CatalogDescriptor.java:109)
    at org.eclipse.epp.mpc.ui.CatalogDescriptor.<init>(CatalogDescriptor.java:93)
    at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.installRemoteCatalogs(MarketplaceWizardCommand.java:315)
    at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.execute(MarketplaceWizardCommand.java:93)
turesheim commented 8 years ago

It should probably be possible to disable loading of the external catalogs. For the benefit of those that does not need it and to temporarily work around this bug.