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

[Executor exception] java.lang.VerifyError: Incompatible argument to function

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: grails-plugin, maven-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 12.04.3 LTS, Java-6-openjdk

      Plugins installed:

      Gradle
      Git Client
      Git
      JIRA
      Artifactory
      PWauth
      TestLink
      Join
      Grails
    • Similar Issues:

      Description

      I recently migrated our jobs directory from an older version of Jenkins to a new Ubuntu 12.04.3 machine running an LTS version of Jenkins ( 1.509.3 ).

      Whenever I try to use the "Build Now" button, the build will fail immediately with this error:

      FATAL: (class: org/apache/commons/codec/binary/Base64OutputStream, method: <init> signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to function

      Strangely, when the SCM detects this build failure and goes in to try and re-build it, it's Successful...even though it still encounters the same error:

      INFO: SCM changes detected in XXXXX. Triggering #50
      Exception in thread "/mnt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven3.0/bin/mvn -f XXXXXdomain/pom.xml -Dmaven.test.skip=true clean install: stdout copier" java.lang.VerifyError: (class: org/apache/commons/codec/binary/Base64OutputStream, method: <init> signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to function

      INFO: XXXXX #50 main build action completed: SUCCESS

      I've scoured the tickets for any similar issues but I only found this one JENKINS-16542 but it seems a little different. I still went ahead and checked my common-codec jar in the jenkins war and its using v1.6 like it should be.

      Ive tried updating to several different versions of commons-codec in Java to no avail.

      Lastly, i've tried using different versions of Jenkins including the very latest ( 1.531 )

      Let me know if you need anymore information

        Attachments

          Activity

          Hide
          radimk Radim Kubacki added a comment -
          Show
          radimk Radim Kubacki added a comment - https://github.com/jenkinsci/swarm-plugin/pull/7 fixes problem for us.
          Hide
          drulli Ulli Hafner added a comment -

          I integrated https://github.com/jenkinsci/swarm-plugin/pull/8 which basically does the same.

          Show
          drulli Ulli Hafner added a comment - I integrated https://github.com/jenkinsci/swarm-plugin/pull/8 which basically does the same.
          Hide
          karelmaesen Karel Maesen added a comment -

          FYI, I had the same issue. But the swarm-client 1.12-SNAPSHOT (with pull request #8) didn't solve the problem. When I applied PR #7 the problem was resolved.

          Show
          karelmaesen Karel Maesen added a comment - FYI, I had the same issue. But the swarm-client 1.12-SNAPSHOT (with pull request #8) didn't solve the problem. When I applied PR #7 the problem was resolved.
          Hide
          drulli Ulli Hafner added a comment -

          Pull request adds a codec 1.4 dependency which is required to fix the problems with findbugs. Is grails using a newer version?

          Show
          drulli Ulli Hafner added a comment - Pull request adds a codec 1.4 dependency which is required to fix the problems with findbugs. Is grails using a newer version?
          Hide
          drulli Ulli Hafner added a comment -

          Ok, I released a new version with commons codec 1.8.

          Show
          drulli Ulli Hafner added a comment - Ok, I released a new version with commons codec 1.8.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              pi_oliver Oliver Reeves
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: