Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-425

Getting no valid JSON error on MutationToken test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-dp.12
    • None
    • fit
    • None

    Description

      In the tests tokenOnAppend and tokenOnPrepend in the file MutationTokenTest.

      These two tests return an Unknown error from the performer with the message "tao::json::events::from_string:1:1: no valid JSON" I do not see any additional details in the performer log but hopefully this C++ path will make more sense to you and can help identify the issue. 

      This is happening on multiple server versions.

      Performer log:

      [2024-01-03 14:15:29.364][11]========== java.util.stream.Stream com.couchbase.client.kv.MutationTokenTest.tokenOnAppend():tokenOnAppend() : ========== testStart
      [2024-01-03 14:15:29.543][11]got run with workloads {
        cluster_connection_id: "defaultClusterConnection_414cc8f8-dea2-48e5-bd53-0dcf9affcca3"
        horizontal_scaling {
          workloads {
            sdk {
              command {
                upsert {
                  location {
                    specific {
                      collection {
                        bucket_name: "default"
                        scope_name: "_default"
                        collection_name: "_default"
                      }
                      id: "3d56bdf6-823d-4149-bd2e-e40e26d37d52"
                    }
                  }
                  content {
                    byte_array: "Hello, "
                  }
                  options {
                    transcoder {
                      raw_binary {
                      }
                    }
                  }
                }
                return_result: true
              }
            }
          }
        }
      }
      [2024-01-03 14:15:29.544][143]Starting batcher
      [2024-01-03 14:15:29.544][11]got exception with message 'tao::json::events::from_string:1:1: no valid JSON' during run
      [2024-01-03 14:15:29.544][143]All results have been sent
      [2024-01-03 14:15:29.544][143]Batcher has finished running
      [2024-01-03 14:15:29.557][10]========== java.util.stream.Stream com.couchbase.client.kv.MutationTokenTest.tokenOnAppend():tokenOnAppend() : ========== testEnd 

      Attachments

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

        Activity

          People

            Dimitris.Christodoulou Dimitris Christodoulou
            matthew.bray Matthew Bray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes