jglick created JENKINS-13428:
--------------------------------
Summary: CCE: cannot assign instance of StreamBuildListener to
field MercurialSCM$1.val$listener of type BuildListener
Key: JENKINS-13428
URL: https://issues.jenkins-ci.org/browse/JENKINS-13428
Project: Jenkins
Issue Type: Bug
Components: mercurial
Environment: Linux on master and slave. Hudson 2.1.2, Mercurial plugin
1.35.
Reporter: jglick
Assignee: jglick
We frequently - but not usually - get build failures of the form:
See <http://deadlock.netbeans.org/hudson/job/push-core-main/20032/>
------------------------------------------
Started by timer
Building remotely on Push-to-Silver-Node
FATAL: cannot assign instance of hudson.model.StreamBuildListener to field
hudson.plugins.mercurial.MercurialSCM$1.val$listener of type
hudson.model.BuildListener in instance of
hudson.plugins.mercurial.MercurialSCM$1
java.lang.ClassCastException: cannot assign instance of
hudson.model.StreamBuildListener to field
hudson.plugins.mercurial.MercurialSCM$1.val$listener of type
hudson.model.BuildListener in instance of
hudson.plugins.mercurial.MercurialSCM$1
at
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2039)
at
java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1212)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1952)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:178)
at hudson.remoting.UserRequest.perform(UserRequest.java:98)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:283)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
The job config in this case is
<scm class="hudson.plugins.mercurial.MercurialSCM">
<installation>default Mercurial with caching</installation>
<source>http://hg.netbeans.org/main-silver/</source>
<modules></modules>
<clean>false</clean>
<forest>false</forest>
<browser class="hudson.plugins.mercurial.browser.HgWeb">
<url>http://hg.netbeans.org/main-silver/</url>
</browser>
</scm>
but other jobs also fail as well. Possibly a problem with unserializable
anonymous classes being passed around in remoting.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira