java.lang.IllegalArgumentException: No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists

Atlassian JIRA | Honeywell JIRA Admin | 4 years ago
  1. 0

    I see this error in our JIRA instance. I see no FishEye repository associated to the JIRA project with key 'CMN' {noquote} 2012-12-11 15:45:14,053 StreamsCompletionService::thread-258 ERROR anonymous 945x173721x2 - 199.63.35.194 /plugins/servlet/streams [atlassian.streams.internal.FeedBuilder] Error fetching feed java.lang.IllegalArgumentException: No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:376) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:569) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:561) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinks(DefaultEntityLinkService.java:577) at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) 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 $Proxy1243.getEntityLinks(Unknown Source) at com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:329) at com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:326) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy425.doInTransaction(Unknown Source) {noquote} Applinks Version: 3.6.4

    Atlassian JIRA | 4 years ago | Honeywell JIRA Admin
    java.lang.IllegalArgumentException: No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists
  2. 0

    I see this error in our JIRA instance. I see no FishEye repository associated to the JIRA project with key 'CMN' {noquote} 2012-12-11 15:45:14,053 StreamsCompletionService::thread-258 ERROR anonymous 945x173721x2 - 199.63.35.194 /plugins/servlet/streams [atlassian.streams.internal.FeedBuilder] Error fetching feed java.lang.IllegalArgumentException: No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:376) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:569) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:561) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinks(DefaultEntityLinkService.java:577) at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) 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 $Proxy1243.getEntityLinks(Unknown Source) at com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:329) at com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:326) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy425.doInTransaction(Unknown Source) {noquote} Applinks Version: 3.6.4

    Atlassian JIRA | 4 years ago | Honeywell JIRA Admin
    java.lang.IllegalArgumentException: No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists
  3. 0

    This issue has to do with the Application Links Link Rendering Plugin. An error appears in html emails when any type of ticket number is referenced in the comment. The conditions for this is... * having the [App Linkers|https://plugins.atlassian.com/plugin/details/559566?versionId=559567] plugin installed * have an application link created to another atlassian product (associated with a project) * you're sending html emails. From what I can see of the error, it looks like the link generation errors somewhere. {code} Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@5e6c43c6[issue=com.atlassian.jira.issue.IssueImpl@5c302b52[id=56054,summary=Deployment of report_sf_voucher_feedback___trigger on script01,key=ARC-12,created=2012-06-13 14:47:42.0,updated=2012-06-14 11:41:59.047,assignee=com.atlassian.crowd.embedded.ofbiz.OfBizUser@628a6425,reporter=com.atlassian.crowd.embedded.ofbiz.OfBizUser@628a6425],remoteUser=com.atlassian.crowd.embedded.ofbiz.OfBizUser@c0426e41,notificationType=Current_Assignee,eventTypeId=3,templateId=3] ERROR ServiceRunner Mail Queue Service [atlassian.renderer.v2.V2Renderer] Unable to render content due to system error: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists java.lang.IllegalArgumentException: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:376) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:541) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:531) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinks(DefaultEntityLinkService.java:556) at sun.reflect.GeneratedMethodAccessor1091.invoke(Unknown Source) 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) {code} ARC in this case is just the project of the text that the user typed in (ARC-12). The current workaround that I've found is to use plain text emails since it will not even try to generate a link for the email, but this solution is unacceptable for some of our users. Please see attached screen shot.

    Atlassian JIRA | 5 years ago | Ivan Tse [Atlassian]
    java.lang.IllegalArgumentException: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This issue has to do with the Application Links Link Rendering Plugin. An error appears in html emails when any type of ticket number is referenced in the comment. The conditions for this is... * having the [App Linkers|https://plugins.atlassian.com/plugin/details/559566?versionId=559567] plugin installed * have an application link created to another atlassian product (associated with a project) * you're sending html emails. From what I can see of the error, it looks like the link generation errors somewhere. {code} Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@5e6c43c6[issue=com.atlassian.jira.issue.IssueImpl@5c302b52[id=56054,summary=Deployment of report_sf_voucher_feedback___trigger on script01,key=ARC-12,created=2012-06-13 14:47:42.0,updated=2012-06-14 11:41:59.047,assignee=com.atlassian.crowd.embedded.ofbiz.OfBizUser@628a6425,reporter=com.atlassian.crowd.embedded.ofbiz.OfBizUser@628a6425],remoteUser=com.atlassian.crowd.embedded.ofbiz.OfBizUser@c0426e41,notificationType=Current_Assignee,eventTypeId=3,templateId=3] ERROR ServiceRunner Mail Queue Service [atlassian.renderer.v2.V2Renderer] Unable to render content due to system error: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists java.lang.IllegalArgumentException: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:376) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:541) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:531) at com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinks(DefaultEntityLinkService.java:556) at sun.reflect.GeneratedMethodAccessor1091.invoke(Unknown Source) 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) {code} ARC in this case is just the project of the text that the user typed in (ARC-12). The current workaround that I've found is to use plain text emails since it will not even try to generate a link for the email, but this solution is unacceptable for some of our users. Please see attached screen shot.

    Atlassian JIRA | 5 years ago | Ivan Tse [Atlassian]
    java.lang.IllegalArgumentException: No local entity with key 'ARC' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists
  6. 0

    [CRUC-6136] java.lang.IllegalArgumentException: No local entity with key 'PROJECTNAME' and type 'class com.atlassian.applinks.application.fecru.FishEyeCrucibleProjectEntityTypeImpl' exists - Atlassian JIRA

    atlassian.com | 7 months ago
    javax.servlet.ServletException: javax.el.ELException: java.lang.IllegalArgumentException: No local entity with key 'CR-PROJECT' and type 'class com.atlassian.applinks.application.fecru.FishEyeCrucibleProjectEntityTypeImpl' exists

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No local entity with key 'CMN' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists

      at com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks()
    2. com.atlassian.applinks
      DefaultEntityLinkService.getEntityLinks
      1. com.atlassian.applinks.core.DefaultEntityLinkService.getStoredEntityLinks(DefaultEntityLinkService.java:376)
      2. com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:569)
      3. com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinksForKey(DefaultEntityLinkService.java:561)
      4. com.atlassian.applinks.core.DefaultEntityLinkService.getEntityLinks(DefaultEntityLinkService.java:577)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 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
      $Proxy1243.getEntityLinks
      1. $Proxy1243.getEntityLinks(Unknown Source)
      1 frame
    12. com.atlassian.streams
      AppLinksActivityProvider$3$1.doInTransaction
      1. com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:329)
      2. com.atlassian.streams.internal.AppLinksActivityProvider$3$1.doInTransaction(AppLinksActivityProvider.java:326)
      2 frames
    13. com.atlassian.sal
      HostContextTransactionTemplate$1.doInTransaction
      1. com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
      1 frame
    14. com.atlassian.jira
      DefaultHostContextAccessor.doInTransaction
      1. com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    16. com.atlassian.multitenant
      MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke
      1. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      2. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      2 frames
    17. Unknown
      $Proxy425.doInTransaction
      1. $Proxy425.doInTransaction(Unknown Source)
      1 frame