We disconnect and reconnect (but do not restart the physical machine)
and that usually solves it.

Denis

On 05/02/2012 10:41 AM, Winston Prakash wrote:
> When I look at the log file, it seems some how the remote class loader
> has attempted to load duplicate classes. How does the affected slave
> restarted, is it in the following sequence?
>
> - Disconnect the slave from the master
> - Physically restart the machine
> - Reconnect the slave from the master
>
> - Winston
>
> On 5/2/12 6:46 AM, Denis Roy wrote:
>> FATAL: cannot assign instance of hudson.EnvVars
>>
>> That error is an indication that we either need to restart the
>> affected slave, or the master, or both.  I believe Matt has restarted
>> slave6; please try again.
>>
>> Thanks
>>
>> On 05/02/2012 06:20 AM, Henrik Rentz-Reichert wrote:
>>> Hi all,
>>>
>>> is this exception special for slave2?
>>>
>>> I haven't changed our build config for quite a while. We also had
>>> successful builds since we switched to Gerrit recently.
>>>
>>> Can anybody help?
>>>
>>> Thanks,
>>> Henrik
>>>
>>> -------- Original-Nachricht --------
>>> Betreff:    Build failed in Hudson: mdt-etrice-nightly #259
>>> Datum:      Wed, 2 May 2012 06:11:13 -0400 (EDT)
>>> Von:        [email protected]
>>> An:         [email protected]
>>>
>>>
>>>
>>> See <https://hudson.eclipse.org/hudson/job/mdt-etrice-nightly/259/>
>>>
>>> ------------------------------------------
>>> Started by an SCM change
>>> Building remotely on hudson-slave2
>>> Checkout:mdt-etrice-nightly / 
>>> <https://hudson.eclipse.org/hudson/job/mdt-etrice-nightly/ws/> - 
>>> hudson.remoting.Channel@2d344d4d:hudson-slave2
>>> Using strategy: Default
>>> Last Built Revision: Revision 1b0c3ef0efd3aff268c480d58a90350a142f3d34 
>>> (origin/master)
>>> FATAL: cannot assign instance of hudson.EnvVars to field 
>>> hudson.plugins.git.GitSCM$3.val$environment of type hudson.EnvVars in 
>>> instance of hudson.plugins.git.GitSCM$3
>>> java.lang.ClassCastException: cannot assign instance of hudson.EnvVars to 
>>> field hudson.plugins.git.GitSCM$3.val$environment of type hudson.EnvVars in 
>>> instance of hudson.plugins.git.GitSCM$3
>>>     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)
>>>
>>>
>>>

_______________________________________________
cross-project-issues-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to