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

Couchbase JIRA | Michael Blow | 4 months ago
  1. 0
    The application is unable to connect to the database. It could be resolved by configuring access privileges on the database side.
  2. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  5. 0
    The cursor might not be initalized.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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