-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
-
15
-
Severity 3 - Minor
NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.
Trying to import a Trello board into pure JIRA Core (without JIRA Software) causes import to fail. Errors in JIRA log:
2016-01-22 23:31:33,975 JiraTaskExectionThread-2 ERROR admin 1411x8837x2 s2pr78 0:0:0:0:0:0:0:1 /secure/admin/ImporterLogsPage!import.jspa [c.a.j.p.i.i.importer.impl.AbstractDataImporter$1Thread[http-nio-8090-exec-22,5,main]] 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) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 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:207) at com.sun.proxy.$Proxy3656.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:453) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:421) 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-01-22 23:31:33,977 JiraTaskExectionThread-2 INFO admin 1411x8837x2 s2pr78 0:0:0:0:0:0:0:1 /secure/admin/ImporterLogsPage!import.jspa [c.a.j.p.i.i.importer.impl.AbstractDataImporter$1Thread[http-nio-8090-exec-22,5,main]] No issues need to be reindexed. 2016-01-22 23:31:34,025 http-nio-8090-exec-4 ERROR admin 1411x8838x2 s2pr78 0:0:0:0:0:0:0:1 /secure/admin/ImporterLogsPage!viewLogs.jspa [velocity] Exception rendering #parse(/templates/standard/jiraformheader.vm) at com.atlassian.jira.plugins.jira-importers-plugin:actions//templates/admin/views/common/viewlogs.vm[line 9, column 1] 2016-01-22 23:31:34,026 http-nio-8090-exec-4 ERROR admin 1411x8838x2 s2pr78 0:0:0:0:0:0:0:1 /secure/admin/ImporterLogsPage!viewLogs.jspa [c.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 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.AbstractDataImporter.getSelectedProjects(AbstractDataImporter.java:163) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) 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:207) at com.sun.proxy.$Proxy3656.getSelectedProjects(Unknown Source) at com.atlassian.jira.plugins.importer.web.ImporterLogsPage.getFormTitle(ImporterLogsPage.java:168) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:529) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:122) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:113) ... 4 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 110 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 99 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)
Workaround
Create resolutions by creating the first JIRA project.
- is detailed by
-
JRACLOUD-63641 Error when using Trello importer
- Closed
- is duplicated by
-
JRACLOUD-63641 Error when using Trello importer
- Closed
- is related to
-
JRASERVER-63636 Unable to import from Trello to a fresh JIRA instance (IndexOutOfBoundsException)
- Closed
- was split from
-
JRACLOUD-46227 Move issue error in JIRA software: 'The issue type selected is invalid'
- Closed
- is resolved by
-
VAL-133 Loading...