java.lang.IllegalArgumentException: Invalid database name:

couchbase.com | 6 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.IllegalArgumentException

    Invalid database name:

    at com.couchbase.lite.Manager.getDatabase()
  2. com.couchbase.lite
    Manager.getDatabase
    1. com.couchbase.lite.Manager.getDatabase(Manager.java:558)
    2. com.couchbase.lite.Manager.openDatabase(Manager.java:334)
    3. com.couchbase.lite.Manager.getDatabase(Manager.java:300)
    3 frames
  3. com.karvy.insights
    CouchbaseLiteConnectToSyncGateway.main
    1. com.karvy.insights.couchbase.remote.entities.test.CouchbaseLiteConnectToSyncGateway.main(CouchbaseLiteConnectToSyncGateway.java:39)
    1 frame