Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1904

Error converting value "failed" to type 'Couchbase.N1QL.QueryStatus'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.6
    • 2.7.6
    • library
    • None
    • 1

    Description

      Line 51461:    --- End of inner exception stack trace --- Line 51474: 2019-04-01 10:53:00,526 [122] INFO Couchbase.Core.Buckets.CouchbaseRequestExecuter - System.ArgumentNullException: Value cannot be null. Line 51503: 2019-04-01 10:53:00,536 [113] INFO Couchbase.Analytics.AnalyticsClient - Newtonsoft.Json.JsonSerializationException: Error converting value "failed" to type 'Couchbase.N1QL.QueryStatus'. Path 'status', line 11, position 19. ---> System.ArgumentException: Requested value 'failed' was not found. Line 51503: 2019-04-01 10:53:00,536 [113] INFO Couchbase.Analytics.AnalyticsClient - Newtonsoft.Json.JsonSerializationException: Error converting value "failed" to type 'Couchbase.N1QL.QueryStatus'. Path 'status', line 11, position 19. ---> System.ArgumentException: Requested value 'failed' was not found.

      There are two errors: 

      1. The server appears to return "failed" until the end of the run for each request
      2. The client doesn't recognize the "failed" - QueryStatus does not contain that enum: https://github.com/couchbase/couchbase-net-client/blob/release27/Src/Couchbase/N1QL/QueryStatus.cs

      The second one hides the actual error that the server is returning.

      Attachments

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

        Activity

          People

            mike.goldsmith Michael Goldsmith
            jmorris Jeff Morris
            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