java.lang.IndexOutOfBoundsException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 1 of 5 executors on Slave died. We could only resolve this by restarting the Master. Exception in thread "Executor #2 for Slave_8" java.lang.IndexOutOfBoundsException: Index: 5, Size: 5 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at hudson.model.queue.MappingWorksheet$ReadOnlyList.get(MappingWorksheet.java:92) at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:140) at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:100) at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:270) at hudson.model.Queue.pop(Queue.java:761) at hudson.model.Executor.grabJob(Executor.java:175) at hudson.model.Executor.run(Executor.java:113) Oct 15, 2010 3:01:24 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel Slave_8 java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Oct 15, 2010 3:01:24 AM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClosed WARNING: Connection #54794 terminated java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
    via by robsimon,
  • 1 of 5 executors on Slave died. We could only resolve this by restarting the Master. Exception in thread "Executor #2 for Slave_8" java.lang.IndexOutOfBoundsException: Index: 5, Size: 5 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at hudson.model.queue.MappingWorksheet$ReadOnlyList.get(MappingWorksheet.java:92) at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:140) at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:100) at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:270) at hudson.model.Queue.pop(Queue.java:761) at hudson.model.Executor.grabJob(Executor.java:175) at hudson.model.Executor.run(Executor.java:113) Oct 15, 2010 3:01:24 AM hudson.remoting.Channel$ReaderThread run SEVERE: I/O error in channel Slave_8 java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:875) Oct 15, 2010 3:01:24 AM hudson.TcpSlaveAgentListener$ConnectionHandler$1 onClosed WARNING: Connection #54794 terminated java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
    via by robsimon,
  • Crash when opening HQM book
    via GitHub by Painstouch
    ,
  • javascript pop() method in java
    via Stack Overflow by user2295443
    ,
    • java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at hudson.model.queue.MappingWorksheet$ReadOnlyList.get(MappingWorksheet.java:102) at hudson.model.queue.MappingWorksheet$ExecutorChunk.execute(MappingWorksheet.java:150) at hudson.model.queue.MappingWorksheet$ExecutorChunk.access$000(MappingWorksheet.java:110) at hudson.model.queue.MappingWorksheet$Mapping.execute(MappingWorksheet.java:298) at hudson.model.Queue.maintain(Queue.java:1045) at hudson.model.Queue.pop(Queue.java:863) at hudson.model.Executor.grabJob(Executor.java:285) at hudson.model.Executor.run(Executor.java:206)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    aidoanaidoan
    2 times, last one,
    tyson925tyson925
    2 times, last one,
    arturgajowyarturgajowy
    12 times, last one,
    SteVio1989SteVio1989
    1 times, last one,
    235 more bugmates