java.lang.IllegalStateException

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.

  • Baffled about timeouts
    via by Johannes Ernst,
  • UndeclaredThrowableException
    via by Johannes Ernst,
  • I got a custom image for a server in Rackspace, it takes more than 10 minutes (600 seconds) to build because it's compression (I guess), so JClouds Plugin deletes it after 10 minutes and tries to build another server, making that the job never completes properly (it just sits on the queue), here is what I get from the Jenkins' logs may 09, 2014 11:43:40 PM Grave org.jclouds.logging.jdk.JDKLogger logError << problem customizing node(DFW/4acc0220-af9e-4e23-bd16-5cafcc669ed8): java.lang.IllegalStateException: node(DFW/4acc0220-af9e-4e23-bd16-5cafcc669ed8) didn't achieve the status running; aborting after 600 seconds with final status: PENDING at org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:72) at org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:45) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:121) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) (please see the attached file for details) I suggest adding a button in the configuration that starts building a server with the objective of making an approximate timing of how much time it takes to build a server slave before using it for the image being added, to avoid hard coding the timeout times and making it more flexible.
    via by Jorge Araya Navarro,
  • I got a custom image for a server in Rackspace, it takes more than 10 minutes (600 seconds) to build because it's compression (I guess), so JClouds Plugin deletes it after 10 minutes and tries to build another server, making that the job never completes properly (it just sits on the queue), here is what I get from the Jenkins' logs may 09, 2014 11:43:40 PM Grave org.jclouds.logging.jdk.JDKLogger logError << problem customizing node(DFW/4acc0220-af9e-4e23-bd16-5cafcc669ed8): java.lang.IllegalStateException: node(DFW/4acc0220-af9e-4e23-bd16-5cafcc669ed8) didn't achieve the status running; aborting after 600 seconds with final status: PENDING at org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:72) at org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:45) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:121) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:146) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:53) at shaded.com.google.common.util.concurrent.Futures$1.apply(Futures.java:711) at shaded.com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:849) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) (please see the attached file for details) I suggest adding a button in the configuration that starts building a server with the objective of making an approximate timing of how much time it takes to build a server slave before using it for the image being added, to avoid hard coding the timeout times and making it more flexible.
    via by Jorge Araya Navarro,
  • Whirr in 5 minutes fail
    via by Russell Jurney,
  • problem spinning up 100 nodes on ec2
    via by Emanuel Buzek,
    • java.lang.IllegalStateException: node(20714251) didn't achieve the state running within 1800 seconds, final state: PENDING at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:141) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:170) at org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:57) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:503) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:501) at com.google.common.util.concurrent.Futures$3.apply(Futures.java:279) at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:729) 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)
    No Bugmate found.