Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.0
-
None
-
Plugin trunk 3.1.0-SNAPSHOT@r157768
Description
I am testing 4.2 to 4.3 JIRA upgrade. In 4.2 I deleted a JIRA project that had FE/CRU configuration. I then did an upgrade of this data and got:
java.lang.IllegalArgumentException: No local entity with key 'JRA' and type 'interface com.atlassian.applinks.api.application.jira.JiraProjectEntityType' exists at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:354) at com.atlassian.applinks.core.DefaultEntityLinkService.addEntityLink(DefaultEntityLinkService.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1161.addEntityLink(Unknown Source) at com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addEntity(UalUpgradeHelperImpl.java:205) at com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addRepositoryEntity(UalUpgradeHelperImpl.java:195) at com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.createRepositoryEntitylinks(UalUpgradeHelperImpl.java:189) at com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.createEntityLinks(UalUpgradeHelperImpl.java:157) at com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addApplicationLink(UalUpgradeHelperImpl.java:99)
In my configuration this left one of the "JIRA" crucible project links not there. My configuration is setup.pdf and my backup data is 423-project.jira.zip. The link that doesn't get added is the NXT -> NEXT Cru Project link.