com.amazonaws.services.ecs.model.InvalidParameterException: Container instance cannot be empty. (Service: AmazonECS; Status Code: 400; Error Code: InvalidParameterException; Request ID: 0c26d03e-8a6c-11e6-be2f-71463a1d5d9f)

Google Groups | jgan...@gmail.com (JIRA) | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JIRA] (JENKINS-38715) Container instance cannot be empty error

    Google Groups | 6 months ago | jgan...@gmail.com (JIRA)
    com.amazonaws.services.ecs.model.InvalidParameterException: Container instance cannot be empty. (Service: AmazonECS; Status Code: 400; Error Code: InvalidParameterException; Request ID: 0c26d03e-8a6c-11e6-be2f-71463a1d5d9f)

    Root Cause Analysis

    1. com.amazonaws.services.ecs.model.InvalidParameterException

      Container instance cannot be empty. (Service: AmazonECS; Status Code: 400; Error Code: InvalidParameterException; Request ID: 0c26d03e-8a6c-11e6-be2f-71463a1d5d9f)

      at com.amazonaws.http.AmazonHttpClient.handleErrorResponse()
    2. AWS SDK for Java - Core
      AmazonHttpClient.execute
      1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1307)
      2. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:894)
      3. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597)
      4. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363)
      5. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329)
      6. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308)
      6 frames
    3. AWS Java SDK for the Amazon EC2 Container Service
      AmazonECSClient.describeContainerInstances
      1. com.amazonaws.services.ecs.AmazonECSClient.invoke(AmazonECSClient.java:2222)
      2. com.amazonaws.services.ecs.AmazonECSClient.describeContainerInstances(AmazonECSClient.java:876)
      2 frames
    4. com.cloudbees.jenkins
      ECSCloud$ProvisioningCallback.call
      1. com.cloudbees.jenkins.plugins.amazonecs.ECSService.waitForSufficientClusterResources(ECSService.java:180)
      2. com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:255)
      3. com.cloudbees.jenkins.plugins.amazonecs.ECSCloud$ProvisioningCallback.call(ECSCloud.java:237)
      3 frames
    5. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3 frames