[jbosstools-issues] [JBoss JIRA] (JBIDE-20306) Central is unable to load icons, when there is space in path to workspace

Radim Hopp (JIRA) issues at jboss.org
Mon Jul 20 03:39:02 EDT 2015


Radim Hopp created JBIDE-20306:
----------------------------------

             Summary: Central is unable to load icons, when there is space in path to workspace
                 Key: JBIDE-20306
                 URL: https://issues.jboss.org/browse/JBIDE-20306
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: central
    Affects Versions: 4.3.0.Beta2
         Environment: JBDS 9.0.0.Beta2, Fedora 22
            Reporter: Radim Hopp


Icons for projects in Central (HTML5 Project, Java EE Web Project, ...) cannot be loaded, when there is space character in path to workspace.

Console ouptut:
{noformat}org.eclipse.core.runtime.CoreException: Error extracting jar:file:/home/rhopp/workspace-with space/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1437377857515/com.jboss.jbds.central.discovery_9.0.0.Beta2_v20150717_1337_B72.jar_7206157800595541887.jar!/images/wizards/newcordovaprj_wiz.png
        at org.jboss.tools.central.internal.ImageUtil.throwCoreException(ImageUtil.java:169)
        at org.jboss.tools.central.internal.ImageUtil.access$0(ImageUtil.java:167)
        at org.jboss.tools.central.internal.ImageUtil$UrlStreamJarProvider.readStream(ImageUtil.java:143)
        at org.jboss.tools.central.internal.ImageUtil.getImageAsLocalUrl(ImageUtil.java:90)
        at org.jboss.tools.central.internal.JsonUtil.jsonifyWizards(JsonUtil.java:40)
        at org.jboss.tools.central.editors.GettingStartedHtmlPage.getLoadProxyWizardsScript(GettingStartedHtmlPage.java:511)
        at org.jboss.tools.central.editors.GettingStartedHtmlPage.resetWizards(GettingStartedHtmlPage.java:465)
        at org.jboss.tools.central.editors.GettingStartedHtmlPage.onProxyWizardUpdate(GettingStartedHtmlPage.java:470)
        at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.notifyListeners(ProxyWizardManager.java:276)
        at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:116)
        at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardUpdateJob.run(ProxyWizardUpdateJob.java:45)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in path at index 31: file:/home/rhopp/workspace-with space/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1437377857515/com.jboss.jbds.central.discovery_9.0.0.Beta2_v20150717_1337_B72.jar_7206157800595541887.jar
        at java.net.URI$Parser.fail(URI.java:2848)
        at java.net.URI$Parser.checkChars(URI.java:3021)
        at java.net.URI$Parser.parseHierarchical(URI.java:3105)
        at java.net.URI$Parser.parse(URI.java:3053)
        at java.net.URI.<init>(URI.java:588)
        at org.jboss.tools.central.internal.ImageUtil$UrlStreamJarProvider.readStream(ImageUtil.java:133)
        ... 9 more
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list