JCMA 1.12.0 not running on instances with MSSQL and Mysql

XMLWordPrintable

    • 10
    • Severity 2 - Major
    • 1,305

      Issue Summary

      Jira cloud migration assistant errors out when upgraded to version 1.12.0.
      Issue observed in instances running in MSSQL or Mysql Jira version with `10` as any version component.

      Cause
      An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.jira.plugin.webresource.JiraWebResourceUrlProvider threw exception java.lang.IllegalArgumentException: Failed to call com.atlassian.jira.plugin.webresource.JiraWebResourceUrlProvider@37b4701c.getBaseUrl with arguments : [ABSOLUTE] at com.atlassian.jira.migration.jira-migration-plugin:jira-migration-actions//app.vm[line 9, column 50] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:290) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at
      

      Steps to Reproduce

      1. Issue is replicable on Jira versions : 9.12.10 , 9.10.09.10.19.10,29.4.10 , 8.20.10,8.13.10,8.10.08.10.18.5.107.13.10
      2. Install or upgrade Jira Cloud Migration Assistant 1.12.0 on Jira from impacted versions.
      3. Open Jira Cloud Migration Assistant
      4. It will throw the error above

      Expected Results

      Jira Cloud Migration Assistant should open the Migration Assistant home page

      Actual Results

      Jira Cloud Migration Assistant errors out .

      Workaround

      Revert back to Jira Cloud Migration Assistant 1.11.17:

      1. Uninstall previous version of Jira Cloud Migration Assistant.
      2. Go to <BASE_URL>/secure/admin/SiteDarkFeatures!default.jspa
      3. Add the following dark feature:
        com.atlassian.jira.migration.skip.app.outdated.check
      4. Download the Jar file for version 1.11.17 on your workstation by browsing to the following URL:
      5. https://marketplace.atlassian.com/apps/1222010/jira-cloud-migration-assistant/version-history
      6. Navigate to General Configuration > Manage apps
      7. Choose Upload app
      8. Locate the file then click Upload

            Assignee:
            Deleted Account (Inactive)
            Reporter:
            Sai M S (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: