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

Unable to run Maven3 builds due to InvalidClassException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      System: RHEL 5.4 Linux; Container: Tomcat 6.0.33; Allother please see attached Jenkins system information page
    • Similar Issues:

      Description

      Hi folks,

      I upgraded our Jenkins Installation from 1.489 directly to the current version 1.520.

      Whenever I start an job using maven 3 for building the job starts and fails at once with the following exception.

      As you can see we're using a IBM Websphere 7 JDK to build, which we must by customer specification.

      I tried it with an other Maven version but it's the same from 3.0.3 through 3.0.5...

      [TestDrive-CI] $ /opt/IBM/WebSphere/AppServer7/java/bin/java -Djava.awt.headless=true -Duser.language=de -Duser.country=DE -Djava.awt.headless=true -cp /home/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.3.jar:/home/jenkins/apache-maven-3.0.3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/apache-maven-3.0.3 /home/jenkins/apache-tomcat-6.0.33/webapps/ROOT/WEB-INF/lib/remoting-2.24.jar /home/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.3.jar 58820
      <===[JENKINS REMOTING CAPACITY]===>channel started
      ERROR: Failed to parse POMs
      java.io.InvalidClassException: hudson.maven.PlexusModuleContributor$1; local class incompatible: stream classdesc serialVersionUID = -647770169695782116, local class serialVersionUID = -6081063417562077289
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:630)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
      at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
      at hudson.remoting.UserRequest.perform(UserRequest.java:98)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
      at java.util.concurrent.FutureTask.run(FutureTask.java:149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      at java.lang.Thread.run(Thread.java:738)
      Sending e-mails to: xxxxx yyyyy
      Finished: FAILURE

      Any help is highly appreciated. Many thanks in advance,
      Thomas

        Attachments

          Issue Links

            Activity

            Hide
            kutzi kutzi added a comment -

            Most likely related to JENKINS-15120

            Show
            kutzi kutzi added a comment - Most likely related to JENKINS-15120
            Hide
            thletze Thomas Letze added a comment -

            Downgraded to Jenkins 1.518.

            That solved this for me.

            Thx for the hint,
            Thomas

            Show
            thletze Thomas Letze added a comment - Downgraded to Jenkins 1.518. That solved this for me. Thx for the hint, Thomas

              People

              • Assignee:
                Unassigned
                Reporter:
                thletze Thomas Letze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: