JCMA export throws java.lang.NullPointerException

XMLWordPrintable

    • 7
    • Minor
    • 2

      Issue Summary

      Jira migration fails during export phase with the following error:

      project-export We couldn't export Custom Field Config Scheme 'null'. Reason: java.lang.NullPointerException: getName(...) must not be null. [JCMA 000]
      

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Have a null config name in the fieldconfigscheme table
      2. Attempt a project by project migration via JCMA to Cloud

      Expected Results

      Prompt users to update config schemes

      Actual Results

      Project fails during export with NullPointerException

      Workaround

      Before making any database updates perform a database backup in case a restore is required. Once a backup is created you can run the following SQL query to update the name where the values are NULL

      UPDATE fieldconfigscheme SET configname = '<Configuration Scheme Name>' WHERE id = <config scheme ID>;
      

            Assignee:
            Unassigned
            Reporter:
            Houston B.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: