java.lang.IndexOutOfBoundsException

Index: 1854, 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 web6967

  • Index: 1854, Size: 0
  • via GitHub by bandit0
    , 1 year ago
    Index: 1854, Size: 1857
  • via Coderanch by P White, 1 year ago
    Index: 0, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 1854, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.couchbase.client.core.config.DefaultCouchbaseBucketConfig.nodeIndexForMaster(DefaultCouchbaseBucketConfig.java:135) at com.couchbase.client.core.node.locate.KeyValueLocator.calculateNodeId(KeyValueLocator.java:165) at com.couchbase.client.core.node.locate.KeyValueLocator.locateForCouchbaseBucket(KeyValueLocator.java:124) at com.couchbase.client.core.node.locate.KeyValueLocator.locateAndDispatch(KeyValueLocator.java:84) at com.couchbase.client.core.RequestHandler.dispatchRequest(RequestHandler.java:219) at com.couchbase.client.core.RequestHandler.onEvent(RequestHandler.java:176) at com.couchbase.client.core.RequestHandler.onEvent(RequestHandler.java:71) at com.couchbase.client.deps.com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) at java.lang.Thread.run(Thread.java:745)

    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

    18 times, 1 day ago
    6 times, 4 days ago
    9 times, 4 days ago
    2 times, 1 week ago
    19 times, 1 week ago
    240 more bugmates