-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Ubuntu 12.04.3 LTS, Java-6-openjdk
Plugins installed:
Gradle
Git Client
Git
JIRA
Artifactory
PWauth
TestLink
Join
Grails
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