Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Jira 4.3.1
JJupin 1.4.12
katl-commons 1.1.18
Blitz 1.0.2 (don't think it is in play on this problem)
When trying to use the JJupin tool to create a test email (I'm using the Xmas-We have cookies example from your confluence site) I am not getting the email.
Post-function:
string [] to = {"tfull@sdsusa.com"}; string subject = "Xmas"; string body = "template.tpl"; string cookie = "We have cookies!"; sendEmail(to, subject, body);
Hello $recipient$, This is a test template sent from $assignee$'s issue $key$. The summary for this issue is: $summary$. $%key%.assignee$ says that $cookie$
When I execute the transition, I get
2014-03-13 15:58:41,360 http-8080-1 ERROR btmf1 958x45089x1 1nhzq4z 10.0.1.213 /secure/CommentAssignIssue.jspa [commons.ivm.routines
.SendEmailRoutine] Could not send mail [ex].
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.keplerrominfo.jira.commons.jira.email.EmailTemplateSender.sendMail(EmailTemplateSender.java:185)
at com.keplerrominfo.jira.commons.ivm.routines.SendEmailRoutine.sendEmail(SendEmailRoutine.java:531)
at com.keplerrominfo.jira.commons.ivm.routines.SendEmailRoutine.sendEmail(SendEmailRoutine.java:485)
at com.keplerrominfo.jira.commons.ivm.routines.SendEmailRoutine.getTemplateTextAndSendEmail(SendEmailRoutine.java:468)
at com.keplerrominfo.jira.commons.ivm.routines.SendEmailRoutine.executeRoutineEx(SendEmailRoutine.java:308)
at com.keplerrominfo.jira.commons.ivm.routines.SendEmailRoutine.executeRoutine(SendEmailRoutine.java:118)
at com.keplerrominfo.jira.commons.sil.AbstractRoutine.execute(AbstractRoutine.java:54)
at com.keplerrominfo.jira.commons.sil.ASTCallNode.interpret(ASTCallNode.java:77)
at com.keplerrominfo.jira.commons.sil.SILNode.interpret(SILNode.java:87)
at com.keplerrominfo.jira.commons.sil.ASTParseNode.interpret(ASTParseNode.java:46)
at com.keplerrominfo.jira.commons.sil.SILInterpreter.interpret(SILInterpreter.java:118)
at com.keplerrominfo.jira.commons.ivm.IssueSILInterpreter.interpret(IssueSILInterpreter.java:187)
at com.keplerrominfo.jira.commons.silrunner.UnifiedSilRunner.interpret(UnifiedSilRunner.java:118)
at com.keplerrominfo.jira.commons.silrunner.UnifiedSilRunner.interpret(UnifiedSilRunner.java:68)
at com.keplerrominfo.jira.plugins.jjupin.sil.SilPostFunction.execute(SilPostFunction.java:40)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:869)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1265)
at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:567)
at com.atlassian.jira.workflow.SimpleWorkflowManager.doWorkflowAction(SimpleWorkflowManager.java:312)
at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:505)
at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:513)
at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:197)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:74)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143)
at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:7
7)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:6
3)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.executeRequest(AccessLogFilter.java:102)
at com.atlassian.jira.web.filters.accesslog.AccessLogFilter.doFilter(AccessLogFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.jira.security.xsrf.XsrfTokenAdditionRequestFilter.doFilter(XsrfTokenAdditionRequestFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
at com.atlassian.jira.web.filters.PathExclusionFilter.doFilter(PathExclusionFilter.java:118)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:7
7)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:6
3)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:210)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:144)
at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99)
at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
Hi Tim,
You have quite an old version of JIRA, it reached the end of life, it is not supported any more and this applies to JJupin 1.x(for JIRA 4.x) too. However, I will try to help you if you are stuck with JIRA 4.x.
Using your logs, it seems that you haven't configured a Mail Server for your JIRA instance. Please double check your mail server configuration and try it again. It will probably work but please note that we recommend using the latest version for a faster and better experience.
HTH,
Silviu
The standard Jira notification does seem to work via email, so I believe that is done correctly. Is there anything I need to tie SIL to a specific email server in Jira?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using the latest version of your product that works with the level of Jira I have. Although Atlassian has updated their product from the level I'm at, they don't seem to be adding anything valuable to their product for my purposes, even though they have several requests I'd love to see added to Jira that have been open for several years. Enough on my Jira rant. If I can use the latest version of your product with the Jira level I have, I'd be happy to give it a try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you configured your email server inside your JIRA instance? If you did that, the problem should not be present. The SMTP server used by JJupin is the same JIRA is using. You do not have to configure anything special here. Here is how to check and setup a mail server: https://confluence.atlassian.com/display/JIRA/Configuring+JIRA's+SMTP+Mail+Server+to+Send+Notifications
Are you tied to JIRA 4.x ? Can you upgrade to a newer version? It will be easier to help you and give the correct solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, I see we have written a comment in the same time. Give it a try with a newer JIRA and JJupin, let us know if you encounter any problems. We changed some things this winter for emails, we do it in a different/better way.
By the way, the line 185 was pointing to a null pointer exception for the mail protocol, this probably means a JIRA bug or a missing mail server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, I am not in a position to update Jira. The question I had was related to if I can use JJupin V2 or later with my old Jira even though it isn't listed as being supported?
The email server is configured. As I'd previously indicated, the standard Jira email notification process works fine so it must already be configured.
The email server is configured as a secure-smtp server, so perhaps JJupin can't work with secure-smtp. Does that seem possible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope, it should work, but the code reports that the configured protocol is null, which is totally odd.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use gmail as the smtp server so the config is a bit odd. We use the JNDI connector 'java:comp/env/mail/GmailSmtpServer' rather than configuring the host directly. Perhaps thats the root of the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've made some progress. I've switch back to using a standard local SMTP server, eliminating the JNDI connector which seems to resolved the initial problem, but now I get
javax.mail.MessagingException: IOException while sending message;
nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
This is a known problem for older versions. See the info panel at the bottom of this page for steps on how to fix it:
http://confluence.kepler-rominfo.com/display/TR/Email+Issue+from+Blitz+Actions
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.