This morning JBAC couldn't start ec2 instances, and threw an error:

      java.lang.NullPointerException
      	at java.util.TreeMap.getEntry(TreeMap.java:324)
      	at java.util.TreeMap.get(TreeMap.java:255)
      	at com.atlassian.aws.ec2.SpotPriceMatrix.getPrice(SpotPriceMatrix.java:110)
      	at com.atlassian.bamboo.agent.elastic.server.SpotInstanceConfig.getBid(SpotInstanceConfig.java:59)
      	at com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl$Starter.run(RemoteElasticInstanceImpl.java:225)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      	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)
      

      It fixed itself after 30 minutes or so, so perhaps this is a passing failure from ec2.

              pbruski Przemek Bruski
              drizzuto David Rizzuto
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: