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

Add pre-flight check before activating JacksonJsonSerializer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      In at least one case the auto-detection of a user-provided Jackson dependency has caused problems because an incomplete Jackson distribution was on the class path. That is, `ObjectMapper` was present, but some of the classes it depends on were missing.

      To avoid this situation, do a trial serialization with the user-provided Jackson library. If it fails for any reason, don't use it.

        Attachments

          Issue Links

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

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              david.nault David Nault
              Reporter:
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty