java.lang.RuntimeException

Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@35526c25[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@6248c5ca,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=<null>],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]] has no assigned Cloud.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22737

  • via GitHub by SalahAdDin
    , 9 months ago
    Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE
  • via GitHub by yongjunj
    , 1 year ago
    =[Ljava.lang.String;@3120d82, dns=null, image=veblen-jenkins-slave, volumes=null, volumesFrom=, entrypoint=null, networkDisabled=false, privileged=false, workingDir=, domainName=, exposedPorts={22/tcp={}}, onBuild=null}, state=ContainerState{running=true, pid
  • via GitHub by lielran
    , 1 year ago
    =[Ljava.lang.String;@58e49a46, dns=null, image=evarga/jenkins-slave, volumes=null, volumesFrom=, entrypoint=null, networkDisabled=false, privileged=false, workingDir=, domainName=, exposedPorts={22/tcp={}}, onBuild=null}, state=ContainerState{running=true, pid=7847
  • Stack trace

    • java.lang.RuntimeException: Docker template DockerSlaveTemplate[id=b0c337e4-d767-427b-a67b-f454c44415d0,labelString=docker-slave,launcher=com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher@29263773,remoteFs=/home/jenkins,maxCapacity=10,mode=EXCLUSIVE,retentionStrategy=com.github.kostyasha.yad.strategy.DockerOnceRetentionStrategy@27f,numExecutors=1,dockerContainerLifecycle=com.github.kostyasha.yad.DockerContainerLifecycle@35526c25[image=jenkins_slave,pullImage=com.github.kostyasha.yad.commons.DockerPullImage@6248c5ca,createContainer=DockerCreateContainer[command=,hostname=,dnsHosts=[],volumes=[],volumesFrom=[],environment=[],bindPorts=,bindAllPorts=false,memoryLimit=0,cpuShares=<null>,privileged=false,tty=false,macAddress=<null>,extraHosts=[],networkMode=<null>,devices=[],cpusetCpus=,cpusetMems=,links=<null>],stopContainer=com.github.kostyasha.yad.commons.DockerStopContainer@27f,removeContainer=com.github.kostyasha.yad.commons.DockerRemoveContainer@5aea],nodeProperties=[]] has no assigned Cloud. at com.github.kostyasha.yad.DockerSlave.getCloud(DockerSlave.java:95) at com.github.kostyasha.yad.DockerComputer.getCloud(DockerComputer.java:40) at com.github.kostyasha.yad.launcher.DockerComputerJNLPLauncher.launch(DockerComputerJNLPLauncher.java:118) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:262) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.