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

Git plugin with "Choosing strategy=Gerrit Trigger" is causing a "ClassFormatError" Java Exception

XMLWordPrintable

      I am configuring GIT with Gerrit event so I select "Choosing strategy" with value "Gerrit Trigger" then I get the following exception (Using value "Default" it works but instead of fetching my changes it fetch the parent branch)

      Detailed Java Exception:
      17:31:41 hudson.util.IOException2: remote file operation failed: /proj/madridhss/jenkins/jobs-lab/GG-CI_1-Main_Prototype at hudson.remoting.Channel@a27760:esekilxxen1816
      17:31:41 at hudson.FilePath.act(FilePath.java:901)
      17:31:41 at hudson.FilePath.act(FilePath.java:878)
      17:31:41 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:948)
      17:31:41 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1114)
      17:31:41 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
      17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      17:31:41 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      17:31:41 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      17:31:41 at hudson.model.Run.execute(Run.java:1576)
      17:31:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      17:31:41 at hudson.model.ResourceController.execute(ResourceController.java:88)
      17:31:41 at hudson.model.Executor.run(Executor.java:241)
      17:31:41 Caused by: java.io.IOException: Remote call on esekilxxen1816 failed
      17:31:41 at hudson.remoting.Channel.call(Channel.java:681)
      17:31:41 at hudson.FilePath.act(FilePath.java:894)
      17:31:41 ... 11 more
      17:31:41 Caused by: java.lang.ClassFormatError: Failed to load com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser
      17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:193)
      17:31:41 at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:144)
      17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      17:31:41 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      17:31:41 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      17:31:41 at java.lang.Class.forName0(Native Method)
      17:31:41 at java.lang.Class.forName(Class.java:242)
      17:31:41 at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:113)
      17:31:41 at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
      17:31:41 at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
      17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910)
      17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834)
      17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910)
      17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834)
      17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      17:31:41 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910)
      17:31:41 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834)
      17:31:41 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
      17:31:41 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      17:31:41 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      17:31:41 at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
      17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:98)
      17:31:41 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      17:31:41 at hudson.remoting.Request$2.run(Request.java:326)
      17:31:41 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      17:31:41 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      17:31:41 at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      17:31:41 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      17:31:41 at java.lang.Thread.run(Thread.java:595)
      17:31:41 Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
      17:31:41 at java.lang.ClassLoader.defineClass1(Native Method)
      17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      17:31:41 at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
      17:31:41 at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:191)
      17:31:41 ... 34 more

            jyrkiput jyrkiput
            jacojm Jacobo Jimenez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: