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

Wipe out workspace no longer working

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Perforce plugin 1.2.3
    • Similar Issues:

      Description

      This was caught while trying to wipe out the workspace through the Jenkins UI. Apparently the TaskListener used is not serializable.

      Caused by: java.io.IOException: Unable to serialize hudson.plugins.perforce.HudsonP4RemoteExecutor$RemoteCall@e21817
              at hudson.remoting.UserRequest.serialize(UserRequest.java:152)
              at hudson.remoting.UserRequest.<init>(UserRequest.java:62)
              at hudson.remoting.Channel.callAsync(Channel.java:574)
              at hudson.plugins.perforce.HudsonP4RemoteExecutor.exec(HudsonP4RemoteExecutor.java:111)
              ... 49 more
      Caused by: java.io.NotSerializableException: hudson.util.LogTaskListener
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
              at hudson.remoting.UserRequest._serialize(UserRequest.java:141)
              at hudson.remoting.UserRequest.serialize(UserRequest.java:150)
      

        Attachments

          Activity

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              rpetti Rob Petti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: