I'm keep getting the following exception:
ERROR [RepointableActorRef]: Error during processing of request HttpRequest(GET,http://localhost:5000/user,List(Accept-Language: en-US, en;q=0.8, he;q=0.6, Accept-Encoding: gzip, deflate, sdch, Content-Type: application/json, Postman-Token: bc89aa34-8e36-0e07-1822-ae78ce33bbe9, Cache-Control: no-cache, User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36, Connection: keep-alive, Host: localhost:5000),Empty,HTTP/1.1)
play.api.libs.json.JsResultException: JsResultException(errors:List((,List(ValidationError(error.expected.jsarray,WrappedArray())))))
at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[play-json_2.11-2.3.5.jar:2.3.5]
at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[play-json_2.11-2.3.5.jar:2.3.5]
at play.api.libs.json.JsResult$class.fold(JsResult.scala:77) ~[play-json_2.11-2.3.5.jar:2.3.5]
at play.api.libs.json.JsError.fold(JsResult.scala:13) ~[play-json_2.11-2.3.5.jar:2.3.5]
at play.api.libs.json.JsValue$class.as(JsValue.scala:65) ~[play-json_2.11-2.3.5.jar:2.3.5]
at play.api.libs.json.JsUndefined.as(JsValue.scala:97) ~[play-json_2.11-2.3.5.jar:2.3.5]
at org.reactivecouchbase.N1QLQuery$$anonfun$toJsArray$1.apply(N1QL.scala:96) ~[reactivecouchbase-core_2.11-0.4-SNAPSHOT.jar:0.4-SNAPSHOT]
at org.reactivecouchbase.N1QLQuery$$anonfun$toJsArray$1.apply(N1QL.scala:95) ~[reactivecouchbase-core_2.11-0.4-SNAPSHOT.jar:0.4-SNAPSHOT]
at scala.util.Success$$anonfun$map$1.apply(Try.scala:237) ~[scala-library-2.11.7.jar:na]
at scala.util.Try$.apply(Try.scala:192) ~[scala-library-2.11.7.jar:na]
at scala.util.Success.map(Try.scala:237) ~[scala-library-2.11.7.jar:na]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) ~[scala-library-2.11.7.jar:na]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) ~[scala-library-2.11.7.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) ~[scala-library-2.11.7.jar:na]
at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67) ~[akka-actor_2.11-2.3.9.jar:na]
at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82) ~[akka-actor_2.11-2.3.9.jar:na]
at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) ~[akka-actor_2.11-2.3.9.jar:na]
at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) ~[akka-actor_2.11-2.3.9.jar:na]
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) ~[scala-library-2.11.7.jar:na]
at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58) ~[akka-actor_2.11-2.3.9.jar:na]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41) ~[akka-actor_2.11-2.3.9.jar:na]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:401) ~[akka-actor_2.11-2.3.9.jar:na]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.11.7.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.11.7.jar:na]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.11.7.jar:na]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.11.7.jar:na]
In addition when I'm trying to use views from your reactive example I'm getting an error that the view wasn't found.
I ran n1ql query from the cbq command line and got results without an error, Do you know what can be the problem?
Hi
I'm keep getting the following exception: ERROR [RepointableActorRef]: Error during processing of request HttpRequest(GET,http://localhost:5000/user,List(Accept-Language: en-US, en;q=0.8, he;q=0.6, Accept-Encoding: gzip, deflate, sdch, Content-Type: application/json, Postman-Token: bc89aa34-8e36-0e07-1822-ae78ce33bbe9, Cache-Control: no-cache, User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36, Connection: keep-alive, Host: localhost:5000),Empty,HTTP/1.1) play.api.libs.json.JsResultException: JsResultException(errors:List((,List(ValidationError(error.expected.jsarray,WrappedArray()))))) at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[play-json_2.11-2.3.5.jar:2.3.5] at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67) ~[play-json_2.11-2.3.5.jar:2.3.5] at play.api.libs.json.JsResult$class.fold(JsResult.scala:77) ~[play-json_2.11-2.3.5.jar:2.3.5] at play.api.libs.json.JsError.fold(JsResult.scala:13) ~[play-json_2.11-2.3.5.jar:2.3.5] at play.api.libs.json.JsValue$class.as(JsValue.scala:65) ~[play-json_2.11-2.3.5.jar:2.3.5] at play.api.libs.json.JsUndefined.as(JsValue.scala:97) ~[play-json_2.11-2.3.5.jar:2.3.5] at org.reactivecouchbase.N1QLQuery$$anonfun$toJsArray$1.apply(N1QL.scala:96) ~[reactivecouchbase-core_2.11-0.4-SNAPSHOT.jar:0.4-SNAPSHOT] at org.reactivecouchbase.N1QLQuery$$anonfun$toJsArray$1.apply(N1QL.scala:95) ~[reactivecouchbase-core_2.11-0.4-SNAPSHOT.jar:0.4-SNAPSHOT] at scala.util.Success$$anonfun$map$1.apply(Try.scala:237) ~[scala-library-2.11.7.jar:na] at scala.util.Try$.apply(Try.scala:192) ~[scala-library-2.11.7.jar:na] at scala.util.Success.map(Try.scala:237) ~[scala-library-2.11.7.jar:na] at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) ~[scala-library-2.11.7.jar:na] at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235) ~[scala-library-2.11.7.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) ~[scala-library-2.11.7.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67) ~[akka-actor_2.11-2.3.9.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82) ~[akka-actor_2.11-2.3.9.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) ~[akka-actor_2.11-2.3.9.jar:na] at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) ~[akka-actor_2.11-2.3.9.jar:na] at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) ~[scala-library-2.11.7.jar:na] at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58) ~[akka-actor_2.11-2.3.9.jar:na] at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41) ~[akka-actor_2.11-2.3.9.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:401) ~[akka-actor_2.11-2.3.9.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.11.7.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.11.7.jar:na]
In addition when I'm trying to use views from your reactive example I'm getting an error that the view wasn't found.
I ran n1ql query from the cbq command line and got results without an error, Do you know what can be the problem?