java.lang.IndexOutOfBoundsException

Index: 0, Size: 0

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6956

  • Index: 0, Size: 0
  • Index: 0, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:960) at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:107) at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:3006) at org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:887) at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:537) at org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:718) at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:431) at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:417) at org.apache.cassandra.cql3.QueryProcessor.execute(QueryProcessor.java:296) at org.apache.cassandra.cql3.QueryProcessor.execute(QueryProcessor.java:287)

    Write tip

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

    Users with the same issue

    6 times, 1 day ago
    9 times, 1 day ago
    2 times, 5 days ago
    19 times, 1 week ago
    312 times, 1 week ago
    239 more bugmates