Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1dp
    • Fix Version/s: 1.1dp2
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      viewResponse return null, and i can't figure out why:

      • I execute my code
      CouchbaseClient c = new CouchbaseClient(baseURIs, "default", "");
      View view = c.getView("dev_lenders", "country_count");

      Query query = new Query();
      Stale stale=Stale.OK;
      query.setStale(stale);
      query.setGroup(true);
      ViewResponse viewResponse = c.query(view, query);

      • My viewRespons is null.

      • Checking the couchdb.1 log, I see:
      [couchdb:info] [2012-07-04 21:40:50] [ns_1@127.0.0.1:<0.24865.33>:couch_log:info:39] 10.32.5.29 - - GET /default/_design/dev_lenders/_view/country_count?group=true&stale=ok 200

      • Running this URL directly against my server I do get results:
      http://10.2.1.12:8092/default/_design/dev_lenders/_view/country_count?group=true&stale=ok
      {"rows":[

      {"key":null,"value":4171}

      ,

      {"key":"AE","value":5}

      ,

      {"key":"AF","value":1}

      ,

      {"key":"AM","value":2}

      ,
      ...

      Not sure what logs i can provide to debug this further. let me know how i can help.

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

        Activity

        sharon Sharon Barr (Inactive) created issue -
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Assignee Matt Ingenthron [ ingenthr ] Mike Wiederhold [ mikew ]
        mikew Mike Wiederhold made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1dp2 [ 10347 ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        mikew Mike Wiederhold made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        mikew Mike Wiederhold made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 18234 ] Couchbase SDK Workflow [ 38353 ]

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            sharon Sharon Barr (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes