JIRA won't send emails or recieve them.

Having an issue; it may have coincided with JIRA 5's install, but I'm not sure.

Outbound emails require flushing the cache manually, it doesn't send on it's own.

Incoming email comments seem to be failing.

catalina.out shows

2012-04-30 19:22:17,665 Sending mailitem com.atlassian.jira.mail.IssueMailQueueItem@7fc5dff8 issue=com.atlassian.jira.issue.IssueImpl@61ecc629 id=11224,summary=Logging significant SQL Query times in API,key=SRV-56,created=2012-04-21 14:45:33.26,updated=2012-04-30 19:20:27.391,assignee=com.atlassian.crowd.embedded.ofbiz.OfBizUser@3693cd,reporter=com.atlassian.crowd.embedded.ofbiz.OfBizUser@cb9e3397 ,remoteUser=com.atlassian.crowd.embedded.ofbiz.OfBizUser@cb9e3397,notificationType=Current_Assignee,eventTypeId=6,templateId=6 ERROR ServiceRunner Mail Queue Service atlassian.renderer.v2.V2Renderer Unable to render content due to system error: No local entity with key

'SRV' and type 'class com.atlassian.applinks.application.jira.JiraProjectEntityTypeImpl' exists

java.lang.IllegalArgumentException: No local entity with key 'SRV' 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.GeneratedMethodAccessor227.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

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)

I also see

2012-04-30 19:30:28,577 http-8443-3 WARN jesse 1170x709x1 6fssel 70.59.124.196 /secure/IssueNavigator.jspa velocity org.apache.velocity.runtime.exception.ReferenceException: reference : template = getEncodedBodyFromContent line 1,column 34 : $issue is not a valid reference.

at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)

at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:300)

at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:202)

at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(DefaultVelocityManager.java:143)

at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.getHtml(JiraWebFragmentHelper.java:116)

at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.renderVelocityFragment(JiraWebFragmentHelper.java:107)

at com.atlassian.plugin.web.model.DefaultWebLink.getRenderedUrl(DefaultWebLink.java:35)

at com.atlassian.jira.plugin.webfragment.model.JiraWebLink.getRenderedUrl(JiraWebLink.java:34)

at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.convertWebItemToSimpleLink(DefaultSimpleLinkManager.java:257)

at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinks(DefaultSimpleLinkManager.java:177)

at com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager.getLinksForSectionIgnoreConditions(DefaultSimpleLinkManager.java:130)

at com.atlassian.jira.web.action.issue.IssueNavigator.getIssueOperations(IssueNavigator.java:2072)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-04-30 19:32:08,508 StreamsCompletionService::thread-13 WARN anonymous 1172x715x1 - 76.28.40.19 /plugins/servlet/streams atlassian.streams.internal.AppLinksActivityProvider Error fetching from /plugins/servlet/streams?local=true&use-accept-lang=true&maxResults=50

com.atlassian.sal.api.net.ResponseException: Response is not an atom feed

at com.atlassian.streams.internal.AppLinksActivityProvider$FeedResponseHandler.readStream(AppLinksActivityProvider.java:551)

at com.atlassian.streams.internal.AppLinksActivityProvider$FeedResponseHandler.handle(AppLinksActivityProvider.java:528)

at com.atlassian.streams.internal.AppLinksActivityProvider$FeedResponseHandler.handle(AppLinksActivityProvider.java:508)

at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88)

at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:163)

at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307)

at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:158)

at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85)

at com.atlassian.streams.internal.AppLinksActivityProvider.fetch(AppLinksActivityProvider.java:416)

at com.atlassian.streams.internal.AppLinksActivityProvider.access$200(AppLinksActivityProvider.java:96)

at com.atlassian.streams.internal.AppLinksActivityProvider$1.call(AppLinksActivityProvider.java:178)

at com.atlassian.streams.internal.AppLinksActivityProvider$1.call(AppLinksActivityProvider.java:170)

at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:115)

at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:110)

... Any help please? I have no idea what's going on with outbound, by the way.

1 answer

Do you happen to have email template customizations that youve migrated? If so, Id go back to the default initially.

Did you migrate all your data? It looks like t a particular project 'SRV' is not found. If it is there, have you reindexed?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

149 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you