java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

JIRA | David Capwell | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    {code} 2014-08-28 17:08:08,144 ERROR server.AbstractNonblockingServer$FrameBuffer (AbstractNonblockingServer.java:invoke) - Unexpected throwable while invoking! java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at tachyon.master.InodeFile.getClientBlockInfo(InodeFile.java:260) at tachyon.master.MasterInfo.getClientBlockInfo(MasterInfo.java:1196) at tachyon.master.MasterServiceHandler.user_getClientBlockInfo(MasterServiceHandler.java:156) at tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getResult(MasterService.java:2684) at tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getClientBlockInfo.getResult(MasterService.java:2668) at tachyon.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at tachyon.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at tachyon.org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) at tachyon.org.apache.thrift.server.Invocation.run(Invocation.java:18) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {code} This is spamming my logs after rebasing with master branch. This is from the netty branch after rebasing with master.

    JIRA | 3 years ago | David Capwell
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    {code} 2014-08-28 17:08:08,144 ERROR server.AbstractNonblockingServer$FrameBuffer (AbstractNonblockingServer.java:invoke) - Unexpected throwable while invoking! java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at tachyon.master.InodeFile.getClientBlockInfo(InodeFile.java:260) at tachyon.master.MasterInfo.getClientBlockInfo(MasterInfo.java:1196) at tachyon.master.MasterServiceHandler.user_getClientBlockInfo(MasterServiceHandler.java:156) at tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getResult(MasterService.java:2684) at tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getClientBlockInfo.getResult(MasterService.java:2668) at tachyon.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at tachyon.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at tachyon.org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) at tachyon.org.apache.thrift.server.Invocation.run(Invocation.java:18) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) {code} This is spamming my logs after rebasing with master branch. This is from the netty branch after rebasing with master.

    JIRA | 3 years ago | David Capwell
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0
    samebug 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failure with the latest git code

    GitHub | 4 years ago | sanjana-bhat
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    Mule EventCorrelator IndexOutOfBoundsException

    Stack Overflow | 3 years ago | Tashani Kathriarachchi
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
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. Tachyon Project Core
    MasterService$Processor$user_getClientBlockInfo.getResult
    1. tachyon.master.InodeFile.getClientBlockInfo(InodeFile.java:260)
    2. tachyon.master.MasterInfo.getClientBlockInfo(MasterInfo.java:1196)
    3. tachyon.master.MasterServiceHandler.user_getClientBlockInfo(MasterServiceHandler.java:156)
    4. tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getResult(MasterService.java:2684)
    4 frames
  4. tachyon.thrift.MasterService$Processor$user_getClientBlockInfo
    getClientBlockInfo.getResult
    1. tachyon.thrift.MasterService$Processor$user_getClientBlockInfo.getClientBlockInfo.getResult(MasterService.java:2668)
    1 frame
  5. Tachyon Project Core
    Invocation.run
    1. tachyon.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
    2. tachyon.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
    3. tachyon.org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516)
    4. tachyon.org.apache.thrift.server.Invocation.run(Invocation.java:18)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:722)
    3 frames