Hi,
I'm trying to import some issues to existing project and an error as came up:
"Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state"
Any clued for this error
tks
Antonio
error:
2014-09-08 12:17:02,801 INFO - Import started by ptzuradmin using com.atlassian.jira.plugins.importer.imports.csv.CsvDataBean
2014-09-08 12:17:02,929 INFO - ------------------------------
2014-09-08 12:17:02,929 INFO - Importing: Users
2014-09-08 12:17:02,929 INFO - ------------------------------
2014-09-08 12:17:02,929 INFO - Only new items will be imported
2014-09-08 12:17:02,930 INFO - 11 users associated with import. 0 new users were created and imported as active.
2014-09-08 12:17:02,930 INFO - ------------------------------
2014-09-08 12:17:02,930 INFO - Finished Importing : Users
2014-09-08 12:17:02,930 INFO - ------------------------------
2014-09-08 12:17:02,930 INFO - 0 users successfully created.
2014-09-08 12:17:02,931 INFO - Retrieving projects...
2014-09-08 12:17:02,931 INFO - Project ExternalProject{id=null, externalName=null, name=null, key=CSV, url=null, lead=null, description=null, projectCategoryName=null, avatarUrl=null, assigneeType=null, versionCount=0, componentCount=0, issueCount=0} already exists. Not imported
2014-09-08 12:17:02,931 INFO - ------------------------------
2014-09-08 12:17:02,931 INFO - Importing: Versions
2014-09-08 12:17:02,931 INFO - ------------------------------
2014-09-08 12:17:02,931 INFO - Only new items will be imported
2014-09-08 12:17:02,931 INFO - ------------------------------
2014-09-08 12:17:02,931 INFO - Finished Importing : Versions
2014-09-08 12:17:02,932 INFO - ------------------------------
2014-09-08 12:17:02,932 INFO - ------------------------------
2014-09-08 12:17:02,932 INFO - Importing: Components
2014-09-08 12:17:02,932 INFO - ------------------------------
2014-09-08 12:17:02,932 INFO - Only new items will be imported
2014-09-08 12:17:02,932 INFO - ------------------------------
2014-09-08 12:17:02,932 INFO - Finished Importing : Components
2014-09-08 12:17:02,932 INFO - ------------------------------
2014-09-08 12:17:02,932 INFO - Retrieving custom fields...
2014-09-08 12:17:02,933 INFO - ------------------------------
2014-09-08 12:17:02,933 INFO - Importing: Issues
2014-09-08 12:17:02,933 INFO - ------------------------------
2014-09-08 12:17:02,933 INFO - Only new items will be imported
2014-09-08 12:17:02,933 INFO - Importing issue: ExternalIssue{externalId=autoid-892837057345508452, summary=Controlo desconto total Cliente, issueType=null}
2014-09-08 12:17:02,975 INFO - ------------------------------
2014-09-08 12:17:02,975 INFO - Finished Importing : Issues
2014-09-08 12:17:02,976 INFO - ------------------------------
2014-09-08 12:17:02,976 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
java.lang.NoSuchMethodError: com.atlassian.jira.issue.MutableIssue.getIssueTypeId()Ljava/lang/String;
at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.convertExternalIssueToIssue(ExternalUtils.java:447)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.createIssue(DefaultJiraDataImporter.java:880)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:764)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:390)
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:724)
2014-09-08 12:17:02,981 INFO - No issues need to be reindexed.
Community moderators have prevented the ability to post new answers.
NoSuchMethodError means that the importer was compiled against a different version of JIRA and that the changes have broken binary compatibility, and that sounds like a bug to me. What version of JIRA are you using, and what version of JIM (the JIRA Importers Plugin)?
Hi Chris, thanks for the tip. i got wrong version of JIM. Now its working (except attachments). regards Antonio Caeiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess you need to define the issue type in your csv-file. Without issue type import will fail.
2014-09-08 12:17:02,933 INFO - Importing issue: ExternalIssue{externalId=autoid-892837057345508452, summary=Controlo desconto total Cliente, issueType=null}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo, tks for the reply. Already tried with Issue type id and name. Issue Type=Issue type name and Issue Type=10 The error is the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.