jira-migration-plugin fails to load during Jira startup

XMLWordPrintable

    • 4
    • Severity 2 - Major
    • 19

      Problem

      During the Jira startup, jira-migration-plugin fails to load with the following error.

      ********************************************************************************************************************************************************************************************************
          ___ FAILED PLUGIN REPORT _____________________
          
          1 plugin failed to load during Jira startup.
          
          	'com.atlassian.jira.migration.jira-migration-plugin' - 'Jira Cloud Migration Assistant'  failed to load.
          		Error creating bean with name 'planExecutionService' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/execution/PlanExecutionService.class]: Unsatisfied dependency expressed through constructor parameter 5; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightService' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          			Error creating bean with name 'preflightService' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          				Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          					Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          						Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://9c63cc0f-2f0a-4f4b-a188-a62f30f43b82_92.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          							Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
          								null
          									null
          
          		It was loaded from /opt/atlassian/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/jira-migration-plugin-1.7.4-629ca9440.jar
          
          ********************************************************************************************************************************************************************************************************
      

      Environment

      Docker and kubernetes deployments tested.

      Steps to Reproduce

      • Deploy a docker Jira instance using the following commands.
        docker volume create --name jiraVolume
        docker run -v jiraVolume:/var/atlassian/application-data/jira --name="jira" -d -p 8080:8080 atlassian/jira-software
        
      • Check the startup logs for the error in the description.

      Expected Results

      Plugin loads without any error logged.

      Actual Results

      Plugin starts but error report is present in the logs.

      Workaround

      No workaround.

            Assignee:
            Unassigned
            Reporter:
            Kutay Peksen (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: