Caught unknown exception: rx.exceptions.OnErrorNotImplementedException

java

#1

{
“timeMillis”: 1472055442963,
“thread”: “cb-io-1-1”,
“level”: “WARN”,
“loggerName”: “com.couchbase.client.core.endpoint.AbstractGenericHandler”,
“message”: “[rm101genlapp05.room101.com/10.101.20.214:8093][QueryEndpoint]: Caught unknown exception: rx.exceptions.OnErrorNotImplementedException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“thrown”: {
“commonElementCount”: 0,
“localizedMessage”: “rx.exceptions.OnErrorNotImplementedException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“message”: “rx.exceptions.OnErrorNotImplementedException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“name”: “com.couchbase.client.deps.io.netty.handler.codec.DecoderException”,
“cause”: {
“commonElementCount”: 19,
“localizedMessage”: “java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“message”: “java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“name”: “rx.exceptions.OnErrorNotImplementedException”,
“cause”: {
“commonElementCount”: 19,
“localizedMessage”: “java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“message”: “java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“name”: “com.couchbase.client.core.CouchbaseException”,
“cause”: {
“commonElementCount”: 19,
“localizedMessage”: “Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“message”: “Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@4a96060c rejected from java.util.concurrent.ScheduledThreadPoolExecutor@279d0d91[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]”,
“name”: “java.util.concurrent.RejectedExecutionException”,
“extendedStackTrace”: [{
“class”: “java.util.concurrent.ThreadPoolExecutor$AbortPolicy”,
“method”: “rejectedExecution”,
“file”: “ThreadPoolExecutor.java”,
“line”: 2047,
“exact”: false,
“location”: “?”,
“version”: “1.8.0_73”
},
{
“class”: “java.util.concurrent.ThreadPoolExecutor”,
“method”: “reject”,
“file”: “ThreadPoolExecutor.java”,
“line”: 823,
“exact”: false,
“location”: “?”,
“version”: “1.8.0_73”
},
{
“class”: “java.util.concurrent.ScheduledThreadPoolExecutor”,
“method”: “delayedExecute”,
“file”: “ScheduledThreadPoolExecutor.java”,
“line”: 326,
“exact”: false,
“location”: “?”,
“version”: “1.8.0_73”
},
{
“class”: “java.util.concurrent.ScheduledThreadPoolExecutor”,
“method”: “schedule”,
“file”: “ScheduledThreadPoolExecutor.java”,
“line”: 533,
“exact”: false,
“location”: “?”,
“version”: “1.8.0_73”
},
{
“class”: “java.util.concurrent.ScheduledThreadPoolExecutor”,
“method”: “submit”,
“file”: “ScheduledThreadPoolExecutor.java”,
“line”: 632,
“exact”: false,
“location”: “?”,
“version”: “1.8.0_73”
},
{
“class”: “rx.internal.schedulers.NewThreadWorker”,
“method”: “scheduleActual”,
“file”: “NewThreadWorker.java”,
“line”: 270,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “com.couchbase.client.core.env.CoreScheduler$EventLoopWorker”,
“method”: “schedule”,
“file”: “CoreScheduler.java”,
“line”: 180,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.core.endpoint.AbstractGenericHandler”,
“method”: “publishResponse”,
“file”: “AbstractGenericHandler.java”,
“line”: 264,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.core.endpoint.AbstractGenericHandler”,
“method”: “decode”,
“file”: “AbstractGenericHandler.java”,
“line”: 224,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageCodec$2”,
“method”: “decode”,
“file”: “MessageToMessageCodec.java”,
“line”: 81,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageDecoder”,
“method”: “channelRead”,
“file”: “MessageToMessageDecoder.java”,
“line”: 89,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
}]
},
“extendedStackTrace”: [{
“class”: “com.couchbase.client.core.endpoint.AbstractGenericHandler”,
“method”: “decode”,
“file”: “AbstractGenericHandler.java”,
“line”: 242,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageCodec$2”,
“method”: “decode”,
“file”: “MessageToMessageCodec.java”,
“line”: 81,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageDecoder”,
“method”: “channelRead”,
“file”: “MessageToMessageDecoder.java”,
“line”: 89,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
}]
},
“extendedStackTrace”: [{
“class”: “rx.Observable$27”,
“method”: “onError”,
“file”: “Observable.java”,
“line”: 7996,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “rx.observers.SafeSubscriber”,
“method”: “_onError”,
“file”: “SafeSubscriber.java”,
“line”: 158,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “rx.observers.SafeSubscriber”,
“method”: “onError”,
“file”: “SafeSubscriber.java”,
“line”: 119,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “rx.subjects.SubjectSubscriptionManager$SubjectObserver”,
“method”: “onError”,
“file”: “SubjectSubscriptionManager.java”,
“line”: 226,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “rx.subjects.AsyncSubject”,
“method”: “onError”,
“file”: “AsyncSubject.java”,
“line”: 115,
“exact”: false,
“location”: “rxjava-1.0.15.jar”,
“version”: “1.0.15”
},
{
“class”: “com.couchbase.client.core.endpoint.AbstractGenericHandler”,
“method”: “decode”,
“file”: “AbstractGenericHandler.java”,
“line”: 242,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageCodec$2”,
“method”: “decode”,
“file”: “MessageToMessageCodec.java”,
“line”: 81,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageDecoder”,
“method”: “channelRead”,
“file”: “MessageToMessageDecoder.java”,
“line”: 89,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
}]
},
“extendedStackTrace”: [{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageDecoder”,
“method”: “channelRead”,
“file”: “MessageToMessageDecoder.java”,
“line”: 99,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.MessageToMessageCodec”,
“method”: “channelRead”,
“file”: “MessageToMessageCodec.java”,
“line”: 111,
“exact”: false,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “invokeChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 308,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “fireChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 294,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.codec.ByteToMessageDecoder”,
“method”: “channelRead”,
“file”: “ByteToMessageDecoder.java”,
“line”: 265,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.CombinedChannelDuplexHandler”,
“method”: “channelRead”,
“file”: “CombinedChannelDuplexHandler.java”,
“line”: 147,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “invokeChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 308,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “fireChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 294,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.handler.timeout.IdleStateHandler”,
“method”: “channelRead”,
“file”: “IdleStateHandler.java”,
“line”: 266,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “invokeChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 308,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext”,
“method”: “fireChannelRead”,
“file”: “AbstractChannelHandlerContext.java”,
“line”: 294,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline”,
“method”: “fireChannelRead”,
“file”: “DefaultChannelPipeline.java”,
“line”: 846,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe”,
“method”: “read”,
“file”: “AbstractNioByteChannel.java”,
“line”: 131,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop”,
“method”: “processSelectedKey”,
“file”: “NioEventLoop.java”,
“line”: 511,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop”,
“method”: “processSelectedKeysOptimized”,
“file”: “NioEventLoop.java”,
“line”: 468,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop”,
“method”: “processSelectedKeys”,
“file”: “NioEventLoop.java”,
“line”: 382,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop”,
“method”: “run”,
“file”: “NioEventLoop.java”,
“line”: 354,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2”,
“method”: “run”,
“file”: “SingleThreadEventExecutor.java”,
“line”: 112,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator”,
“method”: “run”,
“file”: “DefaultThreadFactory.java”,
“line”: 137,
“exact”: true,
“location”: “core-io-1.2.5.jar”,
“version”: “?”
},
{
“class”: “java.lang.Thread”,
“method”: “run”,
“file”: “Thread.java”,
“line”: 745,
“exact”: true,
“location”: “?”,
“version”: “1.8.0_73”
}]
},
“endOfBatch”: false,
“loggerFqcn”: “org.apache.logging.slf4j.Log4jLogger”,
“contextMap”: []
}


#2

Can you check if you’re not trying to perform N1QL queries after you’ve called any form of cluster.disconnect(), bucket.close() or environment.shutdown()?