Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1172

Subdoc spews INVALID_ARGUMENTS against Vulcan

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.5
    • 2.5.5
    • subdoc
    • None
    • Java client version 2.5.5
      Couchbase Enterprise build 5.5.0-1979

    Description

      All subdoc operation spews INVALID_ARGUMENTS exception.

       

      Here is one example code snippet.

      public class Subdoc {
          public static void main(String[] args) {
       
              Cluster cluster = CouchbaseCluster.create("172.23.120.17");
              cluster.authenticate("default", "password");
              Bucket bucket = cluster.openBucket("default");
              String path = "child.child.child.child.child.child.child.child.tag";
              ResponseStatus status = null;
              try {
                  DocumentFragment<Lookup> documentFragment = bucket.lookupIn("2").get(path).execute();
                  status = documentFragment.status(path);
              } catch (Exception e) {
                  e.printStackTrace();
              }
              if (status != null) {
                  System.out.printf("status:%s\n", status.toString());
              }
       
          }
      }

      Here is the exception

      at com.couchbase.client.java.subdoc.SubdocHelper.commonSubdocErrors(SubdocHelper.java:101)
      at com.couchbase.client.java.subdoc.AsyncLookupInBuilder$5.call(AsyncLookupInBuilder.java:552)
      at com.couchbase.client.java.subdoc.AsyncLookupInBuilder$5.call(AsyncLookupInBuilder.java:521)
      at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:69)
      at rx.observers.Subscribers$5.onNext(Subscribers.java:235)
      at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onNext(OnSubscribeDoOnEach.java:101)
      at rx.internal.producers.SingleProducer.request(SingleProducer.java:65)
      at rx.Subscriber.setProducer(Subscriber.java:209)
      at rx.Subscriber.setProducer(Subscriber.java:205)
      at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102)
      at rx.Subscriber.setProducer(Subscriber.java:205)
      at rx.Subscriber.setProducer(Subscriber.java:205)
      at rx.subjects.AsyncSubject.onCompleted(AsyncSubject.java:103)
      at com.couchbase.client.core.endpoint.AbstractGenericHandler.completeResponse(AbstractGenericHandler.java:418)
      at com.couchbase.client.core.endpoint.AbstractGenericHandler.access$000(AbstractGenericHandler.java:81)
      at com.couchbase.client.core.endpoint.AbstractGenericHandler$1.call(AbstractGenericHandler.java:436)
      at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: com.couchbase.client.core.message.kv.subdoc.simple.SimpleSubdocResponse.class
      at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:118)
      at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:73)
      ... 20 more
      

      Attachments

        1. log.txt
          63 kB
        2. subdoc.pcapng
          192 kB
        3. subdoc3.pcapng
          34 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jaekwon.park Jae Park [X] (Inactive)
            jaekwon.park Jae Park [X] (Inactive)
            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