Pivotal Tracker Import Results in NoClassDefFoundError
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Symptoms
Attempting to import from Pivotal Tracker fails.
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2013-08-30 11:03:18,448 INFO - Import started by tim using com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean
2013-08-30 11:03:18,711 INFO - ------------------------------
2013-08-30 11:03:18,711 INFO - Importing: Users
2013-08-30 11:03:18,711 INFO - ------------------------------
2013-08-30 11:03:18,711 INFO - Only new items will be imported
2013-08-30 11:03:18,961 INFO - 5 users associated with import.
2013-08-30 11:03:18,980 INFO - ------------------------------
2013-08-30 11:03:18,980 INFO - Finished Importing : Users
2013-08-30 11:03:18,980 INFO - ------------------------------
2013-08-30 11:03:18,981 INFO - 0 users successfully created.
2013-08-30 11:03:18,981 INFO - Retrieving projects...
2013-08-30 11:03:19,557 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state
java.lang.NoClassDefFoundError: com/atlassian/greenhopper/api/rapid/view/RapidViewCreationService
at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalRapidBoardManager.createRapidBoard(PivotalRapidBoardManager.java:78)
at com.atlassian.jira.plugins.importer.imports.pivotal.PivotalDataBean$3.afterProjectCreated(PivotalDataBean.java:353)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:688)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:367)
at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:365)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.atlassian.greenhopper.api.rapid.view.RapidViewCreationService
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 14 more
2013-08-30 11:03:19,564 INFO - No issues need to be reindexed.
Diagnosis
JIRA Agile (formerly GreenHopper) was recently installed.
Cause
Although JIRA Agile has been installed, the plugin caches on the file system has not yet been properly updated.
Solution
Resolution
Restart JIRA
This will have JIRA rebuild it's plugin caches
Was this helpful?