Uploaded image for project: 'SET - Setups'
  1. SET - Setups
  2. SET-120

YADE history viewer batch installer XML is incorrect

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9.12, 1.10.9
    • 1.9.13, 1.10.10
    • None

    Description

      Current Situation

      • The jade_history_viewer_install.xml is incomplete and have missing xml tags
      • When user run the installer from command line an java.lang.ArrayIndexOutOfBoundsException exception is thrown.
        docker@osboxes:~/setup/jade_history_viewer.1.10.7$ ./setup.sh -u jade_history_viewer_install_sos.xml
        java -Dizpack.mode=privileged -jar "./jade_history_viewer.1.10.7.jar" jade_history_viewer_install_sos.xml
        [ Starting automated installation ]
        numOfPrevInstallations=0
        java.lang.ArrayIndexOutOfBoundsException: 5 >= 5
        java.lang.ArrayIndexOutOfBoundsException: 5 >= 5
                at java.util.Vector.elementAt(Vector.java:474)
                at com.izforge.izpack.installer.AutomatedInstaller.updateInstanceCount(Unknown Source)
                at com.izforge.izpack.installer.AutomatedInstaller.doInstall(Unknown Source)
                at com.izforge.izpack.installer.Installer.main(Unknown Source)
        [ Automated installation FAILED! ]
        docker@osboxes:~/setup/jade_history_viewer.1.10.7$
        

      Desired Behavior

      • The batch installer should not throw exception and YADE history viewer should installed from command line

      Workaround

      • Insert following XML between line 70 and 71 of jade_history_viewer_install.xml
        <com.izforge.izpack.panels.UserInputPanel id="jdbc">
            <userInput/>
        </com.izforge.izpack.panels.UserInputPanel>
        

      Attachments

        Activity

          People

            oh Oliver Haufe
            mp Mahendra Patidar
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: