java.util.concurrent.ExecutionException

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.

  • When creating a slave machine i'm seeing this NPE regularly. It causes the creation of the slave to fail, but the machine is still provisioned in cloudstack. I would have expected that the machine would be detroyed once a part of the provisioning fails. Installed version of jenkins-jclouds is 3.2.1, Jenkins is at 1.508 1 error[s] Node failures: 0 error[s] at com.google.common.base.Throwables.propagate(Throwables.java:160) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.destroyBadNodesAndPropagate(JCloudsSlaveTemplate.java:258) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:248) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.jclouds.compute.RunNodesException: error running 1 node group(cloudstack-buildslave-centos6) location(2) image(b1b99bde-480d-49fa-ac64-f7fba6445cc7) size(f351015a-cd67-4680-a8c4-5dafe0c4ab04) options({taskName=bootstrap, scriptPresent=true , userMetadata={Name=cloudstack-buildslave-centos6}}) Execution failures: 1) ExecutionException on cloudstack-buildslave-centos6-ad8: java.util.concurrent.ExecutionException: java.lang.NullPointerException at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:134) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:43) at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:34) at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:342) at com.google.common.collect.Iterators$8.computeNext(Iterators.java:688) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153) at com.google.common.collect.Iterators.find(Iterators.java:761) at com.google.common.collect.Iterables.find(Iterables.java:646) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.findAvailableAndAssociatedWithNetwork(ReuseOrAssociateNewPublicIPAddress.java:80) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.apply(ReuseOrAssociateNewPublicIPAddress.java:97) at org.jclouds.cloudstack.functions.StaticNATVirtualMachineInNetwork.apply(StaticNATVirtualMachineInNetwork.java:66) at org.jclouds.cloudstack.compute.strategy.CloudStackComputeServiceAdapter.createNodeWithGroupEncodedIntoName(CloudStackComputeServiceAdapter.java:190) at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.createNodeWithGroupEncodedIntoName(AdaptingComputeServiceStrategies.java:186) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:82) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:66) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) ... 3 more 1 error[s] Node failures: 0 error[s] at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:221) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) ... 8 more
    via by Hugo Trippaers,
  • When creating a slave machine i'm seeing this NPE regularly. It causes the creation of the slave to fail, but the machine is still provisioned in cloudstack. I would have expected that the machine would be detroyed once a part of the provisioning fails. Installed version of jenkins-jclouds is 3.2.1, Jenkins is at 1.508 1 error[s] Node failures: 0 error[s] at com.google.common.base.Throwables.propagate(Throwables.java:160) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.destroyBadNodesAndPropagate(JCloudsSlaveTemplate.java:258) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:248) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.jclouds.compute.RunNodesException: error running 1 node group(cloudstack-buildslave-centos6) location(2) image(b1b99bde-480d-49fa-ac64-f7fba6445cc7) size(f351015a-cd67-4680-a8c4-5dafe0c4ab04) options({taskName=bootstrap, scriptPresent=true , userMetadata={Name=cloudstack-buildslave-centos6}}) Execution failures: 1) ExecutionException on cloudstack-buildslave-centos6-ad8: java.util.concurrent.ExecutionException: java.lang.NullPointerException at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:134) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:43) at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:34) at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:342) at com.google.common.collect.Iterators$8.computeNext(Iterators.java:688) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153) at com.google.common.collect.Iterators.find(Iterators.java:761) at com.google.common.collect.Iterables.find(Iterables.java:646) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.findAvailableAndAssociatedWithNetwork(ReuseOrAssociateNewPublicIPAddress.java:80) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.apply(ReuseOrAssociateNewPublicIPAddress.java:97) at org.jclouds.cloudstack.functions.StaticNATVirtualMachineInNetwork.apply(StaticNATVirtualMachineInNetwork.java:66) at org.jclouds.cloudstack.compute.strategy.CloudStackComputeServiceAdapter.createNodeWithGroupEncodedIntoName(CloudStackComputeServiceAdapter.java:190) at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.createNodeWithGroupEncodedIntoName(AdaptingComputeServiceStrategies.java:186) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:82) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:66) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) ... 3 more 1 error[s] Node failures: 0 error[s] at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:221) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) ... 8 more
    via by Hugo Trippaers,
    • java.util.concurrent.ExecutionException: java.lang.NullPointerException at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:134) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:43) at org.jclouds.cloudstack.predicates.PublicIPAddressPredicates$AssociatedWithNetwork.apply(PublicIPAddressPredicates.java:34) at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:342) at com.google.common.collect.Iterators$8.computeNext(Iterators.java:688) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153) at com.google.common.collect.Iterators.find(Iterators.java:761) at com.google.common.collect.Iterables.find(Iterables.java:646) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.findAvailableAndAssociatedWithNetwork(ReuseOrAssociateNewPublicIPAddress.java:80) at org.jclouds.cloudstack.functions.ReuseOrAssociateNewPublicIPAddress.apply(ReuseOrAssociateNewPublicIPAddress.java:97) at org.jclouds.cloudstack.functions.StaticNATVirtualMachineInNetwork.apply(StaticNATVirtualMachineInNetwork.java:66) at org.jclouds.cloudstack.compute.strategy.CloudStackComputeServiceAdapter.createNodeWithGroupEncodedIntoName(CloudStackComputeServiceAdapter.java:190) at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.createNodeWithGroupEncodedIntoName(AdaptingComputeServiceStrategies.java:186) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:82) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:66) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at org.jclouds.concurrent.config.DescribingExecutorService.submit(DescribingExecutorService.java:89) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:170) at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:125) at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:213) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.get(JCloudsSlaveTemplate.java:246) at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:160) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) ... 3 more
    No Bugmate found.