[jbosstools-issues] [JBoss JIRA] (JBIDE-18411) DownloadRuntimesWizard shouldn't need to parse the d/l url to infer the file name

Fred Bricon (JIRA) issues at jboss.org
Mon Sep 22 21:21:02 EDT 2014


Fred Bricon created JBIDE-18411:
-----------------------------------

             Summary: DownloadRuntimesWizard shouldn't need to parse the d/l url to infer the file name
                 Key: JBIDE-18411
                 URL: https://issues.jboss.org/browse/JBIDE-18411
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: runtime-detection
    Affects Versions: 4.2.0.CR1
         Environment: JBT 4.2.0.CR1, JBDS 8.0.0.CR1
            Reporter: Radim Hopp
            Priority: Blocker
             Fix For: 4.2.0.CR2


I'm unable to download JBoss 6.0.0 runtime using DownloadRuntimesWizard.
After hitting finis in that wizard error is shown:
{noformat:title=An internal error occurred during: "Download 'JBoss 6.0.0".}java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1954)
	at org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeOperationUtility.getNextUnusedFilename(DownloadRuntimeOperationUtility.java:56)
	at org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeOperationUtility.getDestinationFile(DownloadRuntimeOperationUtility.java:89)
	at org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeOperationUtility.downloadRemoteRuntime(DownloadRuntimeOperationUtility.java:194)
	at org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeOperationUtility.downloadAndInstall(DownloadRuntimeOperationUtility.java:155)
	at org.jboss.tools.runtime.ui.internal.wizard.FinalizeRuntimeDownloadFragment$9.run(FinalizeRuntimeDownloadFragment.java:588)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54){noformat}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list