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

Canceling a parent multi-configuration build produce a build.xml that can't be deserialized

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: matrix-project-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.428
    • Similar Issues:

      Description

      Here is the traceback when I restart Jenkins:

      hudson.util.IOException2: Unable to read /Users/olivier/.jenkins/jobs/multi/builds/2011-09-06_09-57-54/build.xml
      [...]
      Caused by: com.thoughtworks.xstream.converters.ConversionException: Cannot deserialize object with new readObject()/writeObject() methods
      ---- Debugging information ----
      class               : hudson.matrix.MatrixBuild
      required-type       : com.google.common.collect.SingletonImmutableList
      path                : /matrix-build/actions/jenkins.model.InterruptedBuildAction/causes
      line number         : 12
      -------------------------------
      

      And here the section in the XML that seems to be problematic:

      <matrix-build>
        <actions>
          [...]
          <jenkins.model.InterruptedBuildAction>
            <causes class="com.google.common.collect.SingletonImmutableList" resolves-to="com.google.common.collect.ImmutableList$SerializedForm">
              <elements>
                <jenkins.model.CauseOfInterruption_-UserInterruption>
                  <user>admin</user>
                </jenkins.model.CauseOfInterruption_-UserInterruption>
              </elements>
            </causes>
          </jenkins.model.InterruptedBuildAction>
        </actions>
        [...]
      </matrix-build>
      

        Attachments

          Activity

            People

            • Assignee:
              oldelvet Richard Mortimer
              Reporter:
              mansion Olivier Mansion
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: