hudson.util.HudsonFailedToLoad: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Google Groups | gas...@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-37449) EC2-plugin preventing Jenkins from starting if a dead instance exists

    Google Groups | 6 months ago | gas...@gmail.com (JIRA)
    hudson.util.HudsonFailedToLoad: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    Our Jenkins was failing to start when there existed a Jenkins Node corresponding to a dead EC2 instance. The stack trace said: SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at hudson.WebAppMain$3.run(WebAppMain.java:237) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at hudson.plugins.ec2.EC2Computer._describeInstanceOnce(EC2Computer.java:166) at hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:149) at hudson.plugins.ec2.EC2Computer.describeInstance(EC2Computer.java:107) at hudson.plugins.ec2.EC2Computer.getUptime(EC2Computer.java:133) at hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:104) at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:85) at hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:43) at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:717) at hudson.model.Queue._withLock(Queue.java:1346) at hudson.model.Queue.withLock(Queue.java:1229) at hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:714) at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:118) at hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44) at hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186) at hudson.model.Queue._withLock(Queue.java:1346) at hudson.model.Queue.withLock(Queue.java:1229) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169) at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1247) at jenkins.model.Jenkins.<init>(Jenkins.java:844) at hudson.model.Hudson.<init>(Hudson.java:83) at hudson.model.Hudson.<init>(Hudson.java:79) at hudson.WebAppMain$3.run(WebAppMain.java:225) Normally when an EC2 instance is destroyed while Jenkins is running, Jenkins will recover and will delete its corresponding Jenkins Node I've already fixed the problem in our Jenkins but this issue exists for sharing the patch

    Jenkins JIRA | 6 months ago | Jeff Gaston
    hudson.util.HudsonFailedToLoad: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

    Mule EventCorrelator IndexOutOfBoundsException

    Stack Overflow | 3 years ago | Tashani Kathriarachchi
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when disabeling on-node mapping.

    GitHub | 3 years ago | alexsb
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. filpgame 1 times, last 2 weeks ago
  2. poroszd 2 times, last 2 weeks ago
  3. Donsy 4 times, last 2 weeks ago
  4. Adrien 2 times, last 2 weeks ago
  5. Indri Yunita 4 times, last 3 weeks ago
66 more registered users
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:604)
    2. java.util.ArrayList.get(ArrayList.java:382)
    2 frames
  3. hudson.plugins.ec2
    EC2RetentionStrategy.check
    1. hudson.plugins.ec2.EC2Computer._describeInstanceOnce(EC2Computer.java:166)
    2. hudson.plugins.ec2.EC2Computer._describeInstance(EC2Computer.java:149)
    3. hudson.plugins.ec2.EC2Computer.describeInstance(EC2Computer.java:107)
    4. hudson.plugins.ec2.EC2Computer.getUptime(EC2Computer.java:133)
    5. hudson.plugins.ec2.EC2RetentionStrategy.internalCheck(EC2RetentionStrategy.java:104)
    6. hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:85)
    7. hudson.plugins.ec2.EC2RetentionStrategy.check(EC2RetentionStrategy.java:43)
    7 frames
  4. Hudson
    AbstractCIBase.updateComputerList
    1. hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:717)
    2. hudson.model.Queue._withLock(Queue.java:1346)
    3. hudson.model.Queue.withLock(Queue.java:1229)
    4. hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:714)
    5. hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:118)
    6. hudson.model.AbstractCIBase.access$000(AbstractCIBase.java:44)
    7. hudson.model.AbstractCIBase$2.run(AbstractCIBase.java:186)
    8. hudson.model.Queue._withLock(Queue.java:1346)
    9. hudson.model.Queue.withLock(Queue.java:1229)
    10. hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:169)
    10 frames
  5. jenkins.model
    Jenkins.updateComputerList
    1. jenkins.model.Jenkins.updateComputerList(Jenkins.java:1247)
    1 frame