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

Support Bundle generation throws 'MalformedInputException: Input length = 1' when anonymization is on

XMLWordPrintable

    • support-core:1318.va_a_105294c1df

      The support bundle generation throws the following exception when readin certain files that contains non UTF-8 characters:

      2023-06-16 06:48:25.925+0000 [id=15]	WARNING	c.c.j.support.SupportPlugin#writeBundle: Could not attach ''task-logs/Workspace clean-up.log.2'' to support bundle
      java.nio.charset.MalformedInputException: Input length = 1
      	at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
      	at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
      	at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
      	at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)
      	at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
      	at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)
      	at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)
      	at java.base/java.nio.file.Files.readAllLines(Files.java:3333)
      	at java.base/java.nio.file.Files.readAllLines(Files.java:3370)
      	at com.cloudbees.jenkins.support.api.BaseFileContent.writeTo(BaseFileContent.java:128)
      	at com.cloudbees.jenkins.support.api.FileContent.writeTo(FileContent.java:77)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:419)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:353)
      	at com.cloudbees.jenkins.support.SupportAction.prepareBundle(SupportAction.java:388)
      	at com.cloudbees.jenkins.support.SupportAction.doGenerateAllBundles(SupportAction.java:338)
      

      NOTE: This has been identified in a controller running on Windows with Workspace cleanup task logs.

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: