-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Docker image jenkins/jenkins:2.121.2
Hello
- Jenkins 2.121.2 (official Docker image)
- Mailer Plugin 1.21
Sometimes pipelines in Jenkins fails with next exception:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_232_854096954.1535491539067" at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896) at javax.activation.DataHandler.writeTo(DataHandler.java:317) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099) Caused: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_232_854096954.1535491539067" at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141) at javax.mail.Transport.send0(Transport.java:195) at javax.mail.Transport.send(Transport.java:124) at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:142) at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:128) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Example of pipeline:
node { mail(to: "xxx@example.com", subject: "test", body: "test") }
Settings:
- SMTP server: mail.example.com
- Default user e-mail suffix: @example.com
Restart of Jenkins temporary solve the issue.
Please fix the bug.
Thank you
[JENKINS-53305] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
Description |
Original:
Hello We use docker image jenkins/jenkins:2.121.2 and sometimes pipelines in Jenkins fails with next exception: {{javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} {{ boundary="----=_Part_232_854096954.1535491539067"}} {{ at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)}} {{ at javax.activation.DataHandler.writeTo(DataHandler.java:317)}} {{ at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)}} {{ at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)}} {{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)}} {{Caused: javax.mail.MessagingException: IOException while sending message;}} {{ nested exception is:}} {{ javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} {{ boundary="----=_Part_232_854096954.1535491539067"}} {{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)}} {{ at javax.mail.Transport.send0(Transport.java:195)}} {{ at javax.mail.Transport.send(Transport.java:124)}} {{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:142)}} {{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:128)}} {{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)}} {{ at hudson.security.ACL.impersonate(ACL.java:290)}} {{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)}} {{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}} {{ at java.util.concurrent.FutureTask.run(FutureTask.java:266)}} {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}} {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}} {{ at java.lang.Thread.run(Thread.java:748)}} Example of pipeline: {{node {}} {{ mail(to: "xxx@example.com", subject: "test", body: "test")}} {{}}} Settings: * SMTP server: mail.example.com * Default user e-mail suffix: @example.com Restart of Jenkins temporary solve the issue. Please fix the bug. Thank you |
New:
Hello * Jenkins 2.121.2 (official Docker image) * Mailer Plugin 1.21 Sometimes pipelines in Jenkins fails with next exception: {\{javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} \{{ boundary="----=_Part_232_854096954.1535491539067"}} \{{ at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)}} \{{ at javax.activation.DataHandler.writeTo(DataHandler.java:317)}} \{{ at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)}} \{{ at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)}} \{{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)}} {{Caused: javax.mail.MessagingException: IOException while sending message;}} \{{ nested exception is:}} \{{ javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} \{{ boundary="----=_Part_232_854096954.1535491539067"}} \{{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)}} \{{ at javax.mail.Transport.send0(Transport.java:195)}} \{{ at javax.mail.Transport.send(Transport.java:124)}} \{{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:142)}} \{{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:128)}} \{{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)}} \{{ at hudson.security.ACL.impersonate(ACL.java:290)}} \{{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)}} \{{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}} \{{ at java.util.concurrent.FutureTask.run(FutureTask.java:266)}} \{{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}} \{{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}} \{{ at java.lang.Thread.run(Thread.java:748)}} Example of pipeline: {{node {}} \{{ mail(to: "xxx@example.com", subject: "test", body: "test")}} {{}}} Settings: * SMTP server: mail.example.com * Default user e-mail suffix: @example.com Restart of Jenkins temporary solve the issue. Please fix the bug. Thank you |
Description |
Original:
Hello * Jenkins 2.121.2 (official Docker image) * Mailer Plugin 1.21 Sometimes pipelines in Jenkins fails with next exception: {\{javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} \{{ boundary="----=_Part_232_854096954.1535491539067"}} \{{ at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)}} \{{ at javax.activation.DataHandler.writeTo(DataHandler.java:317)}} \{{ at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)}} \{{ at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)}} \{{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)}} {{Caused: javax.mail.MessagingException: IOException while sending message;}} \{{ nested exception is:}} \{{ javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; }} \{{ boundary="----=_Part_232_854096954.1535491539067"}} \{{ at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141)}} \{{ at javax.mail.Transport.send0(Transport.java:195)}} \{{ at javax.mail.Transport.send(Transport.java:124)}} \{{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:142)}} \{{ at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:128)}} \{{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)}} \{{ at hudson.security.ACL.impersonate(ACL.java:290)}} \{{ at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)}} \{{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}} \{{ at java.util.concurrent.FutureTask.run(FutureTask.java:266)}} \{{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}} \{{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}} \{{ at java.lang.Thread.run(Thread.java:748)}} Example of pipeline: {{node {}} \{{ mail(to: "xxx@example.com", subject: "test", body: "test")}} {{}}} Settings: * SMTP server: mail.example.com * Default user e-mail suffix: @example.com Restart of Jenkins temporary solve the issue. Please fix the bug. Thank you |
New:
Hello * Jenkins 2.121.2 (official Docker image) * Mailer Plugin 1.21 Sometimes pipelines in Jenkins fails with next exception: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_232_854096954.1535491539067" at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896) at javax.activation.DataHandler.writeTo(DataHandler.java:317) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099) Caused: javax.mail.MessagingException: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_232_854096954.1535491539067" at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1141) at javax.mail.Transport.send0(Transport.java:195) at javax.mail.Transport.send(Transport.java:124) at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:142) at org.jenkinsci.plugins.workflow.steps.MailStep$MailStepExecution.run(MailStep.java:128) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Example of pipeline: {{node {}} mail(to: "xxx@example.com", subject: "test", body: "test") {{}}} Settings: * SMTP server: mail.example.com * Default user e-mail suffix: @example.com Restart of Jenkins temporary solve the issue. Please fix the bug. Thank you |
Assignee | New: Steve Arch [ agentgonzo ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Attachment | New: stacktrace2.txt [ 44428 ] | |
Attachment | New: stacktrace1.txt [ 44429 ] |
lystor - we're having the same behaviour on our build platform - maybe we can share some details to diagnose the problem. I'm having trouble re-creating it locally on my dev machine and finding it hard to trace?
Are you running on build agents, or building on the master itself? Was this a fresh install of the docker image or have you got any other plugins installed too? How often do you get the issues?
I'm not seeing it locally on a fresh jenkins install, but we see it ~5% of the time on our long-running jobs on our CI system. We run one-shot agents so hard to trace exactly what the infrastructure is that it fails on when it fails to trace the issue. As it's our main CI system, attaching a debugger isn't possible