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

Jenkins 2.25, Pipeline plugins Latest update, giving java.io.NotSerializableException: java.util.AbstractList Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Critical Critical
    • pipeline
    • None
    • Jenkins 2.25,

      Jenkins Version is 2.25, Pipeline plugin is the latest one (It was all working fine with Jenkins 2.21 and older pipeline plugins, Jobs have run fine on Oct12,2016)
      Have a loop mechanism to iterate through all nodes as below

      for(int i = 0; i < nodes.size(); i++) {
      def node_name = nodes[i].trim()
      def node_id = i
      stage ' Triggering Tests on ' + node_name
      build job: 'Tests', parameters: [

      am getting the below error before the sub job is triggered

      java.io.NotSerializableException: java.util.AbstractList$Itr
      at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
      at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
      Caused by: an exception which occurred:
      in field itr
      in field target
      in field continue_
      in field parent
      in field caller
      in field e
      in field program
      in field threads
      in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@23b3e142

            Unassigned Unassigned
            kishorerp kishorerp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: