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

Google Groups | gas...@gmail.com (JIRA) | 4 months ago
  1. 0

    [JIRA] (JENKINS-37449) EC2-plugin preventing Jenkins from starting if a dead instance exists

    Google Groups | 4 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 | 4 months ago | Jeff Gaston
    hudson.util.HudsonFailedToLoad: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

    @Cucumber.Options(format={"pretty", "html:target/cucumber"}) fails

    GitHub | 3 years ago | dean-schulze
    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
  6. 0

    DVI crashes when I try to expand one of the mrna seq cnmf clusterings

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

  1. filpgame 1 times, last 1 week ago
  2. Aria Pahlavan 6 times, last 1 week ago
  3. bmacedo 4 times, last 1 week ago
  4. MoYapro 5 times, last 2 weeks ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 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