View Issue Details

IDProjectCategoryView StatusLast Update
0004230SymmetricDS ProBugpublic2020-01-23 20:43
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.4 
Target Version3.10.9Fixed in Version3.10.9 
Summary0004230: 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 0003402 closedmmichalek Update lo4j.xml with 3.9 settings during upgrade 
related to 0004231 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:17 elong New Issue
2020-01-06 13:17 elong Status new => assigned
2020-01-06 13:17 elong Assigned To => elong
2020-01-06 13:19 elong Relationship added related to 0003402
2020-01-06 13:20 elong Status assigned => resolved
2020-01-06 13:20 elong Resolution open => fixed
2020-01-06 13:20 elong Fixed in Version => 3.10.9
2020-01-06 13:20 elong Issue cloned: 0004231
2020-01-06 13:20 elong Relationship added related to 0004231
2020-01-23 20:43 admin Status resolved => closed