View Issue Details

IDProjectCategoryView StatusLast Update
0004231SymmetricDS ProBugpublic2020-01-23 20:42
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.4 
Target Version3.11.4Fixed in Version3.11.4 
Summary0004231: Corrupt log4j.xml when upgrading from 3.9
DescriptionThe setup program tries to modify log4j.xml file but gets an error. From the logs/install.log:

Failed in replaceInFile() for file log4j.xml
java.lang.IllegalArgumentException: named capturing group is missing trailing '}'
    at java.util.regex.Matcher.appendReplacement(Unknown Source)
    at java.util.regex.Matcher.replaceAll(Unknown Source)
    at java.lang.String.replaceAll(Unknown Source)
    at SymmetricInstallerListener.replaceInFile(SymmetricInstallerListener.java:448)
    at SymmetricInstallerListener.fixLog4jFilesForUpgrade(SymmetricInstallerListener.java:396)
    at SymmetricInstallerListener.fixFilesForUpgrade(SymmetricInstallerListener.java:343)
    at SymmetricInstallerListener.beforePacks(SymmetricInstallerListener.java:309)
    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.InstallPanelAutomationHelper.runAutomated(InstallPanelAutomationHelper.java:65)
    at com.izforge.izpack.installer.automation.AutomatedPanels.switchPanel(AutomatedPanels.java:89)
    at com.izforge.izpack.installer.automation.AutomatedPanels.switchPanel(AutomatedPanels.java:38)
    at com.izforge.izpack.installer.panel.AbstractPanels.switchPanel(AbstractPanels.java:469)
    at com.izforge.izpack.installer.automation.AutomatedInstaller.doInstall(AutomatedInstaller.java:173)
    at com.izforge.izpack.installer.bootstrap.Installer.launchAutomatedInstaller(Installer.java:332)
    at com.izforge.izpack.installer.bootstrap.Installer.launchInstall(Installer.java:298)
    at com.izforge.izpack.installer.bootstrap.Installer.start(Installer.java:238)
    at com.izforge.izpack.installer.bootstrap.Installer.main(Installer.java:78)
TagsNo tags attached.

Relationships

related to 0004230 closedelong Corrupt log4j.xml when upgrading from 3.9 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-06 13:20 elong New Issue
2020-01-06 13:20 elong Status new => assigned
2020-01-06 13:20 elong Assigned To => elong
2020-01-06 13:20 elong Issue generated from: 0004230
2020-01-06 13:20 elong Relationship added related to 0004230
2020-01-06 13:22 elong Status assigned => resolved
2020-01-06 13:22 elong Resolution open => fixed
2020-01-06 13:22 elong Fixed in Version => 3.11.4
2020-01-23 20:42 admin Status resolved => closed