java - Jenkins Issue: local class incompatible by comparing serialVersionUID -


i'm having problem jenkins 1.520 , strange exception serialization ids.

i have maven project in jenkins first check out code subversion, runs 'mvn clean install' , deploys generated war preproduction server.

first time run project ok, after first execution i'm suffering exception:

error: failed parse poms java.io.invalidclassexception: hudson.maven.plexusmodulecontributor$1; local class incompatible: stream classdesc serialversionuid = -647770169695782116, local class serialversionuid = 1 @ java.io.objectstreamclass.initnonproxy(objectstreamclass.java:604) @ java.io.objectinputstream.readnonproxydesc(objectinputstream.java:1601) @ java.io.objectinputstream.readclassdesc(objectinputstream.java:1514) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1750) @ java.io.objectinputstream.readobject0(objectinputstream.java:1347) @ java.io.objectinputstream.readobject(objectinputstream.java:369) @ hudson.remoting.userrequest.deserialize(userrequest.java:182) @ hudson.remoting.userrequest.perform(userrequest.java:98) @ hudson.remoting.userrequest.perform(userrequest.java:48) @ hudson.remoting.request$2.run(request.java:326) @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:72) @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334) @ java.util.concurrent.futuretask.run(futuretask.java:166) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1110) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:603) @ java.lang.thread.run(thread.java:722) finished: failure 

as can see, point "local class incompatible: stream classdesc serialversionuid = -647770169695782116, local class serialversionuid = 1". conflict of different serialversionuid when expected same.

i've been reading issue in jenkins jira , here, no 1 has real solution this. talks downgrading version of jenkins.

i thought maybe conflict of java versions between version specified in pom.xml , version of jenkins server, both use jdk 1.7. maybe jenkins bug then?

any suggestion?

thank you!

solution: downgrading version 1.520 1.509.2 (long term support) works us.

well, seems known problem : see https://issues.jenkins-ci.org/browse/jenkins-18533

if don't need latest versions of jenkins, suggest switch lts (long term support) version of jenkins. theses versions ensure stability needed production server, when don't have time (or envy) track bugs in latest releases.


Comments