Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

After install or update, Xporter is disabled on Jira 8.16.


Symptom

The following stack trace is found in the Jira log:

Code Block
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xporterCloudMigrationAccessor' defined in URL [bundle://260.0:0/META-INF/spring/atlassian-plugins-components.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.migration.app.tracker.CloudMigrationAccessor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.migration.app.tracker.CloudMigrationAccessor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:304)
...
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.migration.app.tracker.CloudMigrationAccessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:187)
...
Caused by: java.lang.NoClassDefFoundError: com/atlassian/migration/app/BaseAppCloudMigrationListener
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
...
Caused by: java.lang.ClassNotFoundException: com.atlassian.migration.app.BaseAppCloudMigrationListener not found by com.atlassian.jira.migration.jira-migration-plugin [93]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
...


Solution

This happens because the Jira Cloud Migration Assistant app needs to be updated.

...

Xporter is compatible with Jira Cloud Migration Assistant 1.5.1

Content by Label
showLabelsfalse
max5
spacesProductKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "ProductKB"
labelskb-troubleshooting-article

...