I got the same error.  I copied slave.jar to this location 
/var/cache/jenkins/war/WEB-INF/
And it fixed the issue.


On Sunday, August 19, 2012 at 3:09:00 AM UTC-5, Prafulla T wrote:
>
>
> Hi All,
>
> I am getting following error while starting ssh slave.
> Any help on how to solve this ?
>
> .
> hudson.util.IOException2: Could not copy slave.jar to slave
>       at 
> hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:530)
>       at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:291)
>       at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
>       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)
> Caused by: hudson.util.IOException2: Could not copy slave.jar to 
> '/data/c2sw/jenkins/slave.jar' on slave
>       at 
> hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:527)
>       ... 7 more
> Caused by: java.lang.NullPointerException
>       at hudson.Util.copyStream(Util.java:437)
>       at hudson.Util.copyStreamAndClose(Util.java:450)
>       at 
> hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:522)
>       ... 7 more
> [08/19/12 00:54:21] [SSH] Connection closed.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/49de2c36-5b8e-4cb6-84db-107c09e6bbb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to