java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After scheduling a job that should run in the container, the jenkins.log starts getting filled with {code} Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Asked to provision 1 slave(s) for: test Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Will provision '8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e', for label: 'test', in cloud: 'autodocker' Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud addProvisionedSlave INFO: Provisioning '8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e' number '0' on 'autodocker'; Total containers: '1' Aug 09, 2015 11:37:22 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply INFO: Started provisioning Image of 8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e from autodocker with 1 executors. Remaining excess workload: 0 Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud$1 call SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='test', launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@79f5b686, remoteFsMapping='', remoteFs='/home/jenkins', instanceCap=1, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@4d6c87d2, numExecutors=1, dockerTemplateBase=DockerTemplateBase{image=8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e}, removeVolumes=false, pullStrategy=PULL_NEVER}' for cloud='autodocker' java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) at java.util.Arrays.asList(Arrays.java:3800) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:308) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:305) at shaded.com.google.common.collect.Iterators.indexOf(Iterators.java:778) at shaded.com.google.common.collect.Iterators.any(Iterators.java:684) at shaded.com.google.common.collect.Iterables.any(Iterables.java:623) at com.nirima.jenkins.plugins.docker.DockerCloud.pullImage(DockerCloud.java:305) at com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:334) at com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:55) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:219) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:216) 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) {code} no container seems to be getting started. Changin the Pull strategy doesn't help.
    via by Jaroslav Henner,
  • After scheduling a job that should run in the container, the jenkins.log starts getting filled with {code} Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Asked to provision 1 slave(s) for: test Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud provision INFO: Will provision '8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e', for label: 'test', in cloud: 'autodocker' Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud addProvisionedSlave INFO: Provisioning '8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e' number '0' on 'autodocker'; Total containers: '1' Aug 09, 2015 11:37:22 AM hudson.slaves.NodeProvisioner$StandardStrategyImpl apply INFO: Started provisioning Image of 8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e from autodocker with 1 executors. Remaining excess workload: 0 Aug 09, 2015 11:37:22 AM com.nirima.jenkins.plugins.docker.DockerCloud$1 call SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='test', launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@79f5b686, remoteFsMapping='', remoteFs='/home/jenkins', instanceCap=1, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@4d6c87d2, numExecutors=1, dockerTemplateBase=DockerTemplateBase{image=8880612971b0e41ecc5de6943c9680bb8dc08027dbae4d3a275ac827293cbf2e}, removeVolumes=false, pullStrategy=PULL_NEVER}' for cloud='autodocker' java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) at java.util.Arrays.asList(Arrays.java:3800) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:308) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:305) at shaded.com.google.common.collect.Iterators.indexOf(Iterators.java:778) at shaded.com.google.common.collect.Iterators.any(Iterators.java:684) at shaded.com.google.common.collect.Iterables.any(Iterables.java:623) at com.nirima.jenkins.plugins.docker.DockerCloud.pullImage(DockerCloud.java:305) at com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:334) at com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:55) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:219) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:216) 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) {code} no container seems to be getting started. Changin the Pull strategy doesn't help.
    via by Jaroslav Henner,
  • Gradle sync failed on Android studio 2.2.2
    via Stack Overflow by Seun kola
    ,
  • Unable to build gradle project and run
    via Stack Overflow by Louis Low
    ,
    • java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) at java.util.Arrays.asList(Arrays.java:3800) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:308) at com.nirima.jenkins.plugins.docker.DockerCloud$2.apply(DockerCloud.java:305) at shaded.com.google.common.collect.Iterators.indexOf(Iterators.java:778) at shaded.com.google.common.collect.Iterators.any(Iterators.java:684) at shaded.com.google.common.collect.Iterables.any(Iterables.java:623) at com.nirima.jenkins.plugins.docker.DockerCloud.pullImage(DockerCloud.java:305) at com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:334) at com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:55) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:219) at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:216) 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)

    Users with the same issue

    Unknown visitor2 times, last one,
    poroszd
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    eti22
    1 times, last one,
    39 more bugmates