View Issue Details

IDProjectCategoryView StatusLast Update
0004794SymmetricDS ProBugpublic2021-02-25 21:35
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.7Fixed in Version3.12.7 
Summary0004794: Installer error String index out of range: -1
DescriptionInstaller error String index out of range: -1 because the top dir is listed in the install.log twice. Izpack somehow recorded /opt/symmetricds twice in the install.log, which causes a substring error when parsing it.

Installation started
Framework: 5.1.3-84aaf (IzPack)
Platform: linux,version=3.10.0-1160.11.1.el7.x86_64,arch=x64,symbolicName=null,javaVersion=1.8.0_275
[ Starting to unpack ]
[ Writing log to /opt/symmetricds/logs/install.log ]
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1931)
        at SymmetricInstallerListener.getFileList(SymmetricInstallerListener.java:659)
        at SymmetricInstallerListener.beforePacks(SymmetricInstallerListener.java:322)
        at com.izforge.izpack.api.event.AbstractInstallerListener.beforePacks(AbstractInstallerListener.java:73)
        at com.izforge.izpack.installer.event.InstallerListeners.beforePacks(InstallerListeners.java:163)
        at com.izforge.izpack.installer.unpacker.UnpackerBase.preUnpack(UnpackerBase.java:449)
        at com.izforge.izpack.installer.unpacker.UnpackerBase.unpack(UnpackerBase.java:298)
        at com.izforge.izpack.installer.unpacker.UnpackerBase.run(UnpackerBase.java:241)
        at com.izforge.izpack.panels.install.InstallConsolePanel.run(InstallConsolePanel.java:139)
        at com.izforge.izpack.panels.install.InstallConsolePanel.run(InstallConsolePanel.java:71)
        at com.izforge.izpack.installer.console.ConsoleInstallAction.run(ConsoleInstallAction.java:64)
        at com.izforge.izpack.installer.console.ConsolePanels.switchPanel(ConsolePanels.java:105)
        at com.izforge.izpack.installer.console.ConsolePanels.switchPanel(ConsolePanels.java:37)
        at com.izforge.izpack.installer.panel.AbstractPanels.switchPanel(AbstractPanels.java:469)
        at com.izforge.izpack.installer.panel.AbstractPanels.next(AbstractPanels.java:233)
        at com.izforge.izpack.installer.console.ConsoleInstaller.run(ConsoleInstaller.java:155)
        at com.izforge.izpack.installer.bootstrap.InstallerConsole.run(InstallerConsole.java:86)
        at com.izforge.izpack.installer.bootstrap.Installer.launchInstall(Installer.java:302)
        at com.izforge.izpack.installer.bootstrap.Installer.start(Installer.java:238)
        at com.izforge.izpack.installer.bootstrap.Installer.main(Installer.java:78)
SEVERE: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Tagsinstall

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-01-28 17:32 elong New Issue
2021-01-28 17:32 elong Status new => assigned
2021-01-28 17:32 elong Assigned To => elong
2021-01-28 17:32 elong Tag Attached: install
2021-01-28 17:35 elong Status assigned => resolved
2021-01-28 17:35 elong Resolution open => fixed
2021-01-28 17:35 elong Fixed in Version => 3.12.7
2021-02-25 21:35 admin Status resolved => closed