java.io.IOException

Jenkins JIRA | hiteswar kumar | 4 years ago
  1. 0

    Hi , please support to fix below issues generated while attaching some files in attchments in editable email notification(email-ext plugin) at job . issue1: ERROR: Interrupted in processing attachments: null issue2: ERROR: Could not send email as a part of the post-build publishers. cases and generated issues are given below for your reference. Job configuration: Matrix job Variant 1 2 3 Select “Trigger each configuration” Case1: Enable Attachment – add some files here Disable archive artifacts option Save and Build job: Result: ISSUE received all 3 mails for all 3 varaints But one variant mail only didn't attach files and msg at console ERROR: Interrupted in processing attachments: null Case2: Enable Attachment – add some files here which are available at archive artifacts also. Enable archive artifacts and keep some files here . Save and Build job Results: ISSUE: Only one of variants got this below error and no email generated. ERROR: Could not send email as a part of the post-build publishers. javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.IOException 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 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151) at javax.activation.DataHandler.writeTo(DataHandler.java:293) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462) at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869) at javax.activation.DataHandler.writeTo(DataHandler.java:302) 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) ... 14 more Case3: Disable attachment Enable archive atrtifacts No issue. All email generated without attachment.

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.io.IOException
  2. 0

    Hi , please support to fix below issues generated while attaching some files in attchments in editable email notification(email-ext plugin) at job . issue1: ERROR: Interrupted in processing attachments: null issue2: ERROR: Could not send email as a part of the post-build publishers. cases and generated issues are given below for your reference. Job configuration: Matrix job Variant 1 2 3 Select “Trigger each configuration” Case1: Enable Attachment – add some files here Disable archive artifacts option Save and Build job: Result: ISSUE received all 3 mails for all 3 varaints But one variant mail only didn't attach files and msg at console ERROR: Interrupted in processing attachments: null Case2: Enable Attachment – add some files here which are available at archive artifacts also. Enable archive artifacts and keep some files here . Save and Build job Results: ISSUE: Only one of variants got this below error and no email generated. ERROR: Could not send email as a part of the post-build publishers. javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.IOException 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 hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151) at javax.activation.DataHandler.writeTo(DataHandler.java:293) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462) at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869) at javax.activation.DataHandler.writeTo(DataHandler.java:302) 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) ... 14 more Case3: Disable attachment Enable archive atrtifacts No issue. All email generated without attachment.

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.io.IOException
  3. 0

    добавить проверку на наличие файлов в директории

    GitHub | 3 years ago | mavlyutov
    java.io.IOException: Failed to extract /jenkins/compound-root/workspace/functional-test-matrix/LABEL/basic-os/TESTPACK/P4/reports/**/*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins html publisher Failed to extract

    Stack Overflow | 2 years ago | Luci
    java.io.IOException: java.io.IOException: Failed to extract C:\WiboxTesting\NPO testing\build\reports\tests/**/*

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      No message provided

      at hudson.remoting.FastPipedInputStream.read()
    2. Hudson :: Remoting Layer
      FastPipedInputStream.read
      1. hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
      2. hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
      2 frames
    3. Java RT
      DataHandler.writeTo
      1. javax.activation.DataHandler.writeTo(DataHandler.java:293)
      1 frame
    4. JavaMail API
      MimeMultipart.writeTo
      1. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
      2. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:865)
      3. javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:462)
      3 frames
    5. JavaMail API (compat)
      multipart_mixed.writeTo
      1. com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:103)
      1 frame
    6. Java RT
      DataHandler.writeTo
      1. javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:869)
      2. javax.activation.DataHandler.writeTo(DataHandler.java:302)
      2 frames
    7. JavaMail API
      MimeMessage.writeTo
      1. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476)
      2. javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772)
      2 frames
    8. JavaMail API (compat)
      SMTPTransport.sendMessage
      1. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099)
      1 frame
    9. JavaMail API
      Transport.send
      1. javax.mail.Transport.send0(Transport.java:195)
      2. javax.mail.Transport.send(Transport.java:124)
      2 frames
    10. Hudson Email Extension Plugin
      ExtendedEmailPublisher.perform
      1. hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:282)
      2. hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:265)
      3. hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:225)
      3 frames
    11. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
      5. hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
      6. hudson.model.Run.run(Run.java:1448)
      7. hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:238)
      9 frames