Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-5596

Upgrade from JIRA 4.2.x to 4.3 may not work correctly if a JIRA project is deleted but still has a FE/CRU configuration.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.5.0
    • 2.5.0
    • Integrations
    • 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.

      Attachments

        1. 423-project.jira.zip
          22 kB
        2. setup.pdf
          138 kB
        3. upgrade.txt
          186 kB

        Activity

          People

            tim@atlassian.com TimP
            bbain bain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: