Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1981

Universal installer won't install JBDS on WinXP 64b because of wrong paths (slash/backslash)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 5.0.0.M5
    • 5.0.0.M5
    • installer
    • None
    • Hide

      EXECUTE: install JBDS using universal installer on Windows XP 64b
      ERROR: JBDS isn't installed properly.

      Show
      EXECUTE: install JBDS using universal installer on Windows XP 64b ERROR: JBDS isn't installed properly.

    Description

      Installer won't install jbdevstudio. Probably because of slash/backslash problem.
      Console output of installer:

      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
      

      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).

      Attachments

        Issue Links

          Activity

            People

              nivologd@gmail.com Denis Golovin (Inactive)
              rhopp@redhat.com Radim Hopp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: