Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-33019

NullPointerException While Restoring JIRA Data If the XML Backup contains the character 𠡬

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Symptom:

      • restoring XML to JIRA 5.2.11 or JIRA 6.0 rc1
      • JIRA throws the following error immediately when trying to restore an XML backup data:
        java.lang.NullPointerException
        	at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
        	at com.atlassian.jira.imports.project.util.XMLEscapeUtil.unicodeInPlaceEncode(XMLEscapeUtil.java:201)
        	at com.atlassian.jira.imports.project.util.XMLEscapeUtil.unicodeInPlaceEncode(XMLEscapeUtil.java:154)
        

      Steps to Reproduce:

      1. Create an issue that has the character 𠡬 as a summary or description
      2. Create an XML backup
      3. Restore the newly created backup or perform a project import
      4. The steps will result in an NPE

      This is not reproducible when restoring the same XML backup data into JIRA 5.2.10

      Root cause

      • invalid characters in the XML backup data

      Workaround

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              jalbion Janet Albion (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: