Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-123

ArrayOutOfBounds exception during failover

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1-beta
    • 1.0.3
    • None
    • Security Level: Public
    • None

    Description

      While running a sequence of getsAsync operations, the entry point/bootstrap node is failed over. The output follows

      Exception in thread "SDK Handle-8" java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.elementData(ArrayList.java:338)
      at java.util.ArrayList.get(ArrayList.java:351)
      at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)
      at com.couchbase.client.vbucket.VBucketNodeLocator.getPrimary(VBucketNodeLocator.java:74)
      at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:144)
      at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)
      at net.spy.memcached.MemcachedClient.asyncGets(MemcachedClient.java:888)
      at net.spy.memcached.MemcachedClient.asyncGets(MemcachedClient.java:902)
      at com.couchbase.sdkd.cbclient.GetCommandContext.doOneCommand(GetCommandContext.java:60)
      at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:266)
      at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:114)
      at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:133)
      at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:187)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              daschl Michael Nitschinger
              mnunberg Mark Nunberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty