Illegal group reference Exception

krishnan December 25, 2014

While restoring a JIRA backup,  the following exception is thrown

"Exception importing entity: java.lang.IllegalArgumentException: Illegal group reference

java.lang.IllegalArgumentException: Illegal group reference".

atlassian-xml-cleaner-0.1 utility cleans up all illegal characters (https://confluence.atlassian.com/display/JIRA/Removing+invalid+characters+from+XML+backups)

java -jar atlassian-xml-cleaner-0.1.jar entities.xml > entities-clean.xml

But even after using the above utility,  the exception is thrown.  What could be the problem and what is the solution for this?

Thanks and Regards,

Krish

1 answer

0 votes
teilor_soares
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 26, 2014

Hi Krish.

Just to be sure, after run the command line to clean the XML, did you rename the files, removing the '-clean' part e made a new .zip file with them to be imported?

-Teilor

krishnan December 26, 2014

Yes it did that.

teilor_soares
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2014

In this case, I would recommend to open the files and look for special characters such as the $ in the column headings and remove it.

krishnan December 30, 2014

Thanks Teilor

teilor_soares
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 30, 2014

If you still are seeing errors I would recommend to open a ticket to the support team in support.atlassian.com

Suggest an answer

Log in or Sign up to answer