Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53305

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • mailer-plugin
    • 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;

          Mykola Ulianytskyi created issue -
          Mykola Ulianytskyi made changes -
          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
          Mykola Ulianytskyi made changes -
          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
          Steve Arch made changes -
          Assignee New: Steve Arch [ agentgonzo ]
          Steve Arch made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Steve Arch made changes -
          Attachment New: stacktrace2.txt [ 44428 ]
          Attachment New: stacktrace1.txt [ 44429 ]
          Ryan Campbell made changes -
          Remote Link New: This issue links to "PR: workflow-basic-steps-plugin#69 (Web Link)" [ 22028 ]
          Steve Arch made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Devin Nusbaum made changes -
          Remote Link New: This issue links to "jenkinsci/workflow-step-api-plugin#39 (Web Link)" [ 22068 ]
          Devin Nusbaum made changes -
          Assignee Original: Steve Arch [ agentgonzo ] New: Devin Nusbaum [ dnusbaum ]
          Devin Nusbaum made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            Unassigned Unassigned
            lystor Mykola Ulianytskyi
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: