Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
Description
Import failed with:
Caused by: java.io.CharConversionException: Invalid character 0x9d, can only be included in xml 1.1 using character entities (at char #53563968, byte #53564188) at com.ctc.wstx.io.BaseReader.reportInvalidXml11(BaseReader.java:222) at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:273) at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:87) at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57) at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1019) ... 144 more
The export has been created with Woodstox 4.0.7 . We should find out if the problem has been fixed in recent versions and upgrade or report the bug upstream.
Workaround for customers on Bamboo version below 3.3.4/3.4:
- Unpack the failing Bamboo zip (export) file
- Use this command to clean the illegal symbols from commits.xml:
tidy -m -xml < /Users/akhachatryan/Atlassian/BambooHome3.2/exports/export_atlassianbamboo_2600_20120323_6/db-export/commits.xml > /Users/akhachatryan/Atlassian/BambooHome3.2/exports/export_atlassianbamboo_2600_20120323_6/db-export/commits1.xml
Note: in the example above,t he commits.xml file had the invalid character. You might have a different XML file containing the invalid character.
- Remove commits.xml and change the name of commits1.xml to commits.xml.
- Pack up the files as a zip and re-import into a clean Bamboo-Home and Bamboo Database.