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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.6
    • Fix Version/s: 2.7.6
    • Component/s: library
    • Labels:
      None

      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

        For Gerrit Dashboard: NCBC-1904
        # Subject Branch Project Status CR V

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              mike.goldsmith Michael Goldsmith
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.