It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trello importer IndexOutOfBoundsException error

Every time I try importing any board from trello, I get this error:

2016-07-27 10:59:47,182 INFO - Import started by admin using com.atlassian.jira.plugins.importer.trello.TrelloImporterDataBean
2016-07-27 10:59:47,293 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at com.atlassian.jira.plugins.importer.trello.WorkflowHelperImpl.addArchivePostFunctions(WorkflowHelperImpl.java:347)
	at com.atlassian.jira.plugins.importer.trello.WorkflowHelperImpl.createInitialTrelloWorkflowDescriptor(WorkflowHelperImpl.java:306)
	at com.atlassian.jira.plugins.importer.trello.WorkflowHelperImpl.createWorkflow(WorkflowHelperImpl.java:215)
	at com.atlassian.jira.plugins.importer.trello.WorkflowHelperImpl.createWorkflowForBoard(WorkflowHelperImpl.java:106)
	at com.atlassian.jira.plugins.importer.trello.transformers.BoardTransformer.apply(BoardTransformer.java:58)
	at com.atlassian.jira.plugins.importer.trello.transformers.BoardTransformer.apply(BoardTransformer.java:22)
	at com.google.common.collect.Iterators$8.transform(Iterators.java:799)
	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
	at java.util.AbstractCollection.addAll(AbstractCollection.java:343)
	at java.util.HashSet.<init>(HashSet.java:119)
	at com.google.common.collect.Sets.newHashSet(Sets.java:218)
	at com.atlassian.jira.plugins.importer.trello.TrelloImporterDataBean.getAllProjects(TrelloImporterDataBean.java:81)
	at com.atlassian.jira.plugins.importer.imports.importer.AbstractDataBean.getSelectedProjects(AbstractDataBean.java:29)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.preImport(DefaultJiraDataImporter.java:509)
	at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:321)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
	at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
	at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
	at com.sun.proxy.$Proxy1559.doImport(Unknown Source)
	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:445)
	at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:413)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
	at java.lang.Thread.run(Thread.java:745)
2016-07-27 10:59:47,295 INFO - No issues need to be reindexed.

2 answers

0 votes
Dario Atlassian Team Sep 08, 2016

Known issue: https://ecosystem.atlassian.net/browse/JIM-1700

 

You may have to create resolutions.

 

Please be aware also of the below other bugs that you may encounter after fixing the above one:

https://ecosystem.atlassian.net/browse/JIM-1706

https://ecosystem.atlassian.net/browse/JIM-1680

0 votes
Ann Worley Atlassian Team Apr 05, 2017

I found this bug that addresses an almost identical error:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Unable to import from Trello on JIRA Core (IndexOutOfBoundsException)

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,098 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you