java.lang.IllegalStateException: State needs to be initialized or recovered first before starting

Couchbase JIRA | Michael Blow | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    State needs to be initialized or recovered first before starting

    at com.couchbase.client.dcp.Client.sanityCheckSessionState()
  2. com.couchbase.client
    Client.startStreaming
    1. com.couchbase.client.dcp.Client.sanityCheckSessionState(Client.java:370)
    2. com.couchbase.client.dcp.Client.startStreaming(Client.java:317)
    2 frames
  3. com.couchbase.analytics
    CouchbaseConnector.<init>
    1. com.couchbase.analytics.adapter.CouchbaseConnector.<init>(CouchbaseConnector.java:73)
    1 frame