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

GetView returns IVIEW with IVIEWROWS which are NULL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3.4, 1.3.5
    • backlog-1.0
    • process
    • Couchbase 2.2 server on unbuntu, dot net website running in ISS.

    Description

      We use couchbase views to retrieve some keys which worked fine in 1.2.9. However we upgraded to 1.3.6 in which we found view errors (See NCBC-507). Hence we reverted back to 1.3.5 and 1.3.4 which contained the following view error:

      Code:
      var itemtoremove = CouchbaseWrapper.Client.GetView("search", "customerid_productid").Key(new object[]

      { Obj.Customer_ID.ToString().ToLower(), row["ProductID"].ToString().ToLower() }

      );

      Returns an IView of IViewRows over which we enumerate. However some rows have the value null (not the properties of IViewRow but the reference to IViewRow itself is null). Which results in object reference not set exception when trying to handle the IViewRows. Which we ofcourse don't expect when processing the results of a view.
      Currently I reverted back to 1.2.9 in which our code executes without any problems.

      Attachments

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

        Activity

          jmorris Jeff Morris added a comment -

          Is this deterministic? Would you mind attaching a simple sample app illustrating the issue plus data and your view definitions in a separate file?

          jmorris Jeff Morris added a comment - Is this deterministic? Would you mind attaching a simple sample app illustrating the issue plus data and your view definitions in a separate file?

          People

            jmorris Jeff Morris
            douwequerty douwequerty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty