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

ArrayIndexOutOfBoundsException: 128 during transcoding due to bug in Jackson 2.6.1/2.6.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.1
    • 1.2.0
    • Dependencies
    • None

    Description

      During decoding, the following exception can be observed:
      com.couchbase.client.java.error.TranscodingException: Could not decode document with ID XXX

      This is caused by:
      {{java.lang.ArrayIndexOutOfBoundsException: 128
      at com.couchbase.client.deps.com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.addName(ByteQuadsCanonicalizer.java:853)}}

      This is a bug in Jackson, present in versions 2.6.0 and 2.6.1 at least:
      https://github.com/FasterXML/jackson-core/issues/216
      https://github.com/FasterXML/jackson-core/issues/207 .

      Fix is expected in upcoming 2.6.2 version.

      We can either release next patch version with a downgrade of Jackson back to the version used in SDK 2.1.4 or (if it is released in time) upgrade it to 2.6.2...

      Maybe there can be a workaround that doesn't imply rebuilding the SDK, in which case I'll update this ticket with a comment.

      Attachments

        For Gerrit Dashboard: JVMCBC-242
        # Subject Branch Project Status CR V

        Activity

          People

            simonbasle Simon Baslé (Inactive)
            simonbasle Simon Baslé (Inactive)
            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