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

ArrayOutOfBounds exception during failover

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.1-beta
    • Component/s: None
    • Security Level: Public
    • Labels:
      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)

        Issue Links

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

          Activity

          mnunberg Mark Nunberg created issue -
          ingenthr Matt Ingenthron made changes -
          Field Original Value New Value
          Assignee Raghavan Srinivas [ rags ] Michael Nitschinger [ daschl ]
          Fix Version/s 1.0.4 [ 10364 ]
          Fix Version/s 1.1-dp4 [ 10390 ]
          daschl Michael Nitschinger made changes -
          Fix Version/s 1.0.4 [ 10364 ]
          daschl Michael Nitschinger made changes -
          Assignee Michael Nitschinger [ daschl ] Mark Nunberg [ mnunberg ]
          daschl Michael Nitschinger made changes -
          Fix Version/s 1.1-dp5 [ 10410 ]
          Fix Version/s 1.1-dp4 [ 10390 ]
          daschl Michael Nitschinger made changes -
          Link This issue is duplicated by JCBC-46 [ JCBC-46 ]
          daschl Michael Nitschinger made changes -
          Assignee Mark Nunberg [ mnunberg ] Michael Nitschinger [ daschl ]
          daschl Michael Nitschinger made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          daschl Michael Nitschinger made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          daschl Michael Nitschinger made changes -
          Fix Version/s 1.1beta [ 10370 ]
          Fix Version/s 1.1-dp5 [ 10410 ]
          ingenthr Matt Ingenthron made changes -
          Workflow jira [ 21028 ] Couchbase SDK Workflow [ 38407 ]

            People

            • Assignee:
              daschl Michael Nitschinger
              Reporter:
              mnunberg Mark Nunberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes