Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-26706

Error in html email from Application Linkers plugin

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      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 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.

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              edalgliesh Eric Dalgliesh
              itse Ivan Tse
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: