[jbosstools-issues] [JBoss JIRA] (JBDS-1981) Universal installer won't install JBDS on WinXP 64b because of wrong paths (slash/backslash)

Denis Golovin (Commented) (JIRA) jira-events at lists.jboss.org
Sun Dec 18 04:38:09 EST 2011


    [ https://issues.jboss.org/browse/JBDS-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651829#comment-12651829 ] 

Denis Golovin commented on JBDS-1981:
-------------------------------------

problem is not related to / in windows paths. It is related to spaces. On windows it creates temp bat file, write commands into it and then execute it.
For some reason string 
"Documents%20and%20Settings" 
turns to
"Documents0and0Settings" 
in bat file and that is the real reason for error under XP.

So I reverted it back in branch and trunk to fix the installers.

                
> Universal installer won't install JBDS on WinXP 64b because of wrong paths (slash/backslash)
> --------------------------------------------------------------------------------------------
>
>                 Key: JBDS-1981
>                 URL: https://issues.jboss.org/browse/JBDS-1981
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: installer
>    Affects Versions: 5.0.0.M5
>         Environment: WinXP 64b java 1.7 (or java 1.6), 
> jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5.jar
>            Reporter: Radim Hopp
>            Assignee: Denis Golovin
>            Priority: Blocker
>             Fix For: 5.0.0.M5
>
>         Attachments: 1324027982575.log, 1324027987419.log
>
>
> Installer won't install jbdevstudio. Probably because of slash/backslash problem.
> Console output of installer:
> {code}
> C:\Documents and Settings\jbossqa>java -jar "My Documents\Downloads\jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5(2).jar"
> -jar "C:\Documents and Settings\jbossqa\jbdevstudio/studio/p2/director/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" -l -r "jar:file:///C:/Documents%20and%20Settings/jbossqa/My%20Documents/Downloads/jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5(2).jar!/" -d "C:\Documents and Settings\jbossqa\jbdevstudio/studio"
> Microsoft Windows [Version 5.2.3790]
> (C) Copyright 1985-2003 Microsoft Corp.
> C:\Documents and Settings\jbossqa>"C:\Documents and Settings\jbossqa\Local Settings\Temp\izpack8413148036882967707.bat"
> C:\Documents and Settings\jbossqa>set ERRORLEVEL=
> C:\Documents and Settings\jbossqa>"Z:\env\jdk1.6.0_26_x64\jre/bin\java" -jar "C:\Documents and Settings\jbossqa\jbdevstudio/studio/p2/director/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" -l -r "jar:file:///C:/Documents0and0Settings/jbossqa/My0Documents/Downloads/jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5(2).jar!/" -d "C:\Documents and Settings\jbossqa\jbdevstudio/studio"
> Unable to load repositories.
> Application failed, log file location: C:\Documents and Settings\jbossqa\jbdevstudio\studio\p2\director\configuration\1324027982575.log
> Installation failed.
> C:\Documents and Settings\jbossqa>echo REQUEST_FINISHED_13
> -jar "C:\Documents and Settings\jbossqa\jbdevstudio/studio/p2/director/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" -roaming -vm "Z:\env\jdk1.6.0_26_x64\jre" -r "jar:file:///C:/Documents%20and%20Settings/jbossqa/My%20Documents/Downloads/jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5(2).jar!/" -d "C:\Documents and Settings\jbossqa\jbdevstudio/studio" -p jbds -i com.jboss.jbds.all -profileProperties org.eclipse.update.install.features=true
> Microsoft Windows [Version 5.2.3790]
> (C) Copyright 1985-2003 Microsoft Corp.
> C:\Documents and Settings\jbossqa>"C:\Documents and Settings\jbossqa\Local Settings\Temp\izpack4305099657156522360.bat"
> C:\Documents and Settings\jbossqa>set ERRORLEVEL=
> C:\Documents and Settings\jbossqa>"Z:\env\jdk1.6.0_26_x64\jre/bin\java" -jar "C:\Documents and Settings\jbossqa\jbdevstudio/studio/p2/director/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" -roaming -vm "Z:\env\jdk1.6.0_26_x64\jre" -r "jar:file:///C:/Documents0and0Settings/jbossqa/My0Documents/Downloads/jbdevstudio-product-universal-5.0.0.v201112150534M-H62-M5(2).jar!/" -d "C:\Documents and Settings\jbossqa\jbdevstudio/studio" -p jbds -i com.jboss.jbds.all -profileProperties org.eclipse.update.install.features=true
> Unable to load repositories.
> Application failed, log file location: C:\Documents and Settings\jbossqa\jbdevstudio\studio\p2\director\configuration\1324027987419.log
> Installation failed.
> C:\Documents and Settings\jbossqa>echo REQUEST_FINISHED_13
> -jar "C:\Documents and Settings\jbossqa\jbdevstudio/studio/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar" -vm "Z:\env\jdk1.6.0_26_x64\jre" -application com.jboss.jbds.product.EclipseGenerator -noSplash -clean
> java.lang.NullPointerException
>         at java.io.FileInputStream.<init>(FileInputStream.java:116)
>         at com.jboss.jbds.installer.CreateLinkPanel.addJREPath(CreateLinkPanel.java:187)
>         at com.jboss.jbds.installer.CreateLinkPanel.addJREPath(CreateLinkPanel.java:155)
>         at com.jboss.jbds.installer.CreateLinkPanel.panelActivate(CreateLinkPanel.java:54)
>         at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$100(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:662)
> C:\Documents and Settings\jbossqa\jbdevstudio
> {code}
> It would be great if the installer would tell to the user, that something went wrong (bug JBDS-1979). Now the installer seems like everything is installed properly, but the console output (and the "(not)installed" product) says otherwise.
> The NPE pops out, when clicking next on the progress page (after the installation is done) and in the installer there is an empty page (bug [JBDS-1968|https://issues.jboss.org/browse/JBDS-1968]).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list