Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-689

[Subdoc] Getting `com.couchbase.client.core.error.DecodingFailedException` while performing sub_doc operations

    XMLWordPrintable

Details

    Description

      Scenario:

      1. Single node cluster, CB bucket (replica=0)
      2. Create single document:
      3. Mutate the same doc to append sub-doc. At the end, the document looks as,

      Observation:

      At step#3 sub-doc mutation, getting the following exception from client. But the mutation succeeds. This is confirmed from the PCAP sub_doc_success_with_sdk_exception.pcapng.

      {cas: 0, id: test_sub_docs-0, error: com.couchbase.client.core.error.DecodingFailedException: java.lang.IndexOutOfBoundsException: readerIndex(8) + length(1) exceeds writerIndex(8): AbstractPooledDerivedByteBuf$PooledNonRetainedSlicedByteBuf(ridx: 8, widx: 8, cap: 8/8, unwrapped: PooledUnsafeDirectByteBuf(ridx: 32, widx: 32, cap: 32768)), status: false}

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty