java.lang.IllegalArgumentException: No local entity with key 'JRA' and type 'interface com.atlassian.applinks.api.application.jira.JiraProjectEntityType' exists

Atlassian JIRA | Brenden Bain [Atlassian] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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: {noformat} 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) {noformat} 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.

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalArgumentException: No local entity with key 'JRA' and type 'interface com.atlassian.applinks.api.application.jira.JiraProjectEntityType' exists
  2. 0

    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: {noformat} 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) {noformat} 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.

    Atlassian JIRA | 6 years ago | Brenden Bain [Atlassian]
    java.lang.IllegalArgumentException: No local entity with key 'JRA' and type 'interface com.atlassian.applinks.api.application.jira.JiraProjectEntityType' exists

    Root Cause Analysis

    1. 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()
    2. com.atlassian.applinks
      DefaultEntityLinkService.addEntityLink
      1. com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:354)
      2. com.atlassian.applinks.core.DefaultEntityLinkService.addEntityLink(DefaultEntityLinkService.java:195)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame
    5. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      2 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    7. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      2. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      2 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    9. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    11. Unknown
      $Proxy1161.addEntityLink
      1. $Proxy1161.addEntityLink(Unknown Source)
      1 frame
    12. com.atlassian.jirafisheyeplugin
      UalUpgradeHelperImpl.addApplicationLink
      1. com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addEntity(UalUpgradeHelperImpl.java:205)
      2. com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addRepositoryEntity(UalUpgradeHelperImpl.java:195)
      3. com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.createRepositoryEntitylinks(UalUpgradeHelperImpl.java:189)
      4. com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.createEntityLinks(UalUpgradeHelperImpl.java:157)
      5. com.atlassian.jirafisheyeplugin.upgrade.UalUpgradeHelperImpl.addApplicationLink(UalUpgradeHelperImpl.java:99)
      5 frames