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

Groovy script with Gpars library issue - hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.eachParallel() is applicable for argument types:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline, script-scm-plugin
    • None
    • Jenkins 2.197
      Groovy 2.4.12
      Gpars 1.2.1

      Pipeline is throwing below error when we are calling eachParallel method in Groovy script on list variable.

      hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: groovy.lang.IntRange.eachParallel() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@2b7099f]

       

      Enclosed one has the sample code to re-mediate the problem at your end.

       

      Appreciate your help to resolve this issue.

       

       

       

            Unassigned Unassigned
            raob Rao Bethamcharla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: