View Issue Details

IDProjectCategoryView StatusLast Update
0004794SymmetricDS ProBugpublic2021-02-25 21:35
Reporterelong Assigned Toelong  
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(
        at SymmetricInstallerListener.getFileList(
        at SymmetricInstallerListener.beforePacks(
        at com.izforge.izpack.api.event.AbstractInstallerListener.beforePacks(
        at com.izforge.izpack.installer.event.InstallerListeners.beforePacks(
        at com.izforge.izpack.installer.unpacker.UnpackerBase.preUnpack(
        at com.izforge.izpack.installer.unpacker.UnpackerBase.unpack(
        at com.izforge.izpack.installer.console.ConsolePanels.switchPanel(
        at com.izforge.izpack.installer.console.ConsolePanels.switchPanel(
        at com.izforge.izpack.installer.panel.AbstractPanels.switchPanel(
        at com.izforge.izpack.installer.bootstrap.Installer.launchInstall(
        at com.izforge.izpack.installer.bootstrap.Installer.start(
        at com.izforge.izpack.installer.bootstrap.Installer.main(
SEVERE: java.lang.StringIndexOutOfBoundsException: String index out of range: -1


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