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

java.lang.IncompatibleClassChangeError in pipeline script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: workflow-cps-plugin
    • Labels:
      None
    • Environment:
      Jenkins version: 2.277.4
      Pipeline: Groovy version: 2.92
      JDK: 11.0.2
      OS: Windows Server 2012
    • Similar Issues:

      Description

      After changing the Jenkins service executable to use x64 Java 11 our Groovy pipeline script throws the following exception when using IntStream:

       

      java.lang.IncompatibleClassChangeError: Method java.util.stream.IntStream.range(II)Ljava/util/stream/IntStream; must be InterfaceMethodref constant
      at java_util_stream_IntStream$range.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rweights Rob
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: