java.lang.IllegalStateException: Unhandled Status: 2

GitHub | belaazim | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    start two dcp client at same time

    GitHub | 8 months ago | belaazim
    java.lang.IllegalStateException: Unhandled Status: 2
  2. 0

    GitHub comment 13#250673579

    GitHub | 8 months ago | belaazim
    java.lang.IllegalStateException: Unhandled Status: 2
  3. 0

    Error during partition move

    GitHub | 7 months ago | belaazim
    java.lang.IllegalStateException: Unhandled Status: 34
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The library does not handle {{PROTOCOL_BINARY_RESPONSE_ERANGE = 0x22}} during partition move, and should more carefully check sequence numbers when passing to new node. https://github.com/couchbaselabs/java-dcp-client/issues/18 This is the log : {noformat} 2016-10-11 10:48:57,610 [WARN, Conductor 165] Error during Partition Move for partition 341 java.lang.IllegalStateException: Unhandled Status: 34 at com.couchbase.client.dcp.conductor.DcpChannel.filterOpenStreamResponse(DcpChannel.java:164) at com.couchbase.client.dcp.conductor.DcpChannel.access$000(DcpChannel.java:61) at com.couchbase.client.dcp.conductor.DcpChannel$2.call(DcpChannel.java:109) at com.couchbase.client.dcp.conductor.DcpChannel$2.call(DcpChannel.java:105) at rx.internal.operators.OnSubscribeFilter$FilterSubscriber.onNext(OnSubscribeFilter.java:67) at rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:225) at rx.subjects.PublishSubject.onNext(PublishSubject.java:113) at rx.observers.SerializedObserver.onNext(SerializedObserver.java:92) at rx.subjects.SerializedSubject.onNext(SerializedSubject.java:67) at com.couchbase.client.dcp.transport.netty.DcpMessageHandler.channelRead(DcpMessageHandler.java:70) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) at com.couchbase.client.deps.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at com.couchbase.client.deps.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) at com.couchbase.client.deps.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) at com.couchbase.client.deps.io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) at com.couchbase.client.deps.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:572) at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:513) at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:427) at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:399) at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) at com.couchbase.client.deps.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) at java.lang.Thread.run(Thread.java:745) {noformat}

    Couchbase JIRA | 7 months ago | Sergey Avseyev
    java.lang.IllegalStateException: Unhandled Status: 34

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unhandled Status: 2

      at com.couchbase.client.dcp.conductor.DcpChannel.filterOpenStreamResponse()
    2. com.couchbase.client
      DcpChannel.filterOpenStreamResponse
      1. com.couchbase.client.dcp.conductor.DcpChannel.filterOpenStreamResponse(DcpChannel.java:164)
      1 frame