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

Calling Secondary Index gets "error calling MarshalJSON "

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • Security Level: Public
    • None

    Description

      java sdk master branch failed on secondary index with both view and gsi.
      I use simple query to issue secondary index

      Exceptions
      ================================================================================

      [108.92 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 1
      [108.92 INFO] (SDKD log:137) at com.couchbase.client.java.CouchbaseAsyncBucket$25$2.call(CouchbaseAsyncBucket.java:891)
      at com.couchbase.client.java.CouchbaseAsyncBucket$25$2.call(CouchbaseAsyncBucket.java:886)
      at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:55)
      at rx.internal.operators.NotificationLite.accept(NotificationLite.java:150)
      at rx.internal.operators.TakeLastQueueProducer.emit(TakeLastQueueProducer.java:98)
      at rx.internal.operators.TakeLastQueueProducer.startEmitting(TakeLastQueueProducer.java:45)
      at rx.internal.operators.OperatorTakeLast$1.onCompleted(OperatorTakeLast.java:59)
      at rx.internal.operators.OperatorScan$2.onCompleted(OperatorScan.java:121)
      at rx.internal.operators.OperatorMap$1.onCompleted(OperatorMap.java:44)
      at rx.internal.operators.NotificationLite.accept(NotificationLite.java:140)
      at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:189)
      at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.access$000(OperatorObserveOn.java:65)
      at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:153)
      at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:47)
      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)
      [108.92 INFO] (SDKD log:137) Caused by: com.couchbase.client.core.CouchbaseException: Query Error -

      {"msg":"json: error calling MarshalJSON for type *plan.Sequence: json: error calling MarshalJSON for type plan.Operator: json: error calling MarshalJSON for type *plan.Sequence: json: error calling MarshalJSON for type plan.Operator: json: error calling MarshalJSON for type expression.Expression: invalid character '$' looking for beginning of value","code":4000}


      [108.92 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 3

      Attachments

        Issue Links

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

          Activity

            People

              wei-li Wei-Li Liu (Inactive)
              wei-li Wei-Li Liu (Inactive)
              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