java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.couchbase.lite.DatabaseUpgrade$1Pair.revID' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mtrakal
, 1 year ago
Attempt to read from field 'java.lang.String com.couchbase.lite.DatabaseUpgrade$1Pair.revID' on a null object reference
java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.couchbase.lite.DatabaseUpgrade$1Pair.revID' on a null object reference
at com.couchbase.lite.DatabaseUpgrade.importDoc(DatabaseUpgrade.java:255)
at com.couchbase.lite.DatabaseUpgrade.access$000(DatabaseUpgrade.java:38)
at com.couchbase.lite.DatabaseUpgrade$1.run(DatabaseUpgrade.java:118)
at com.couchbase.lite.store.ForestDBStore.runInTransaction(ForestDBStore.java:297)
at com.couchbase.lite.Database.runInTransaction(Database.java:570)
at com.couchbase.lite.DatabaseUpgrade.importData(DatabaseUpgrade.java:111)
at com.couchbase.lite.Database.open(Database.java:1316)
at com.couchbase.lite.Manager.openDatabase(Manager.java:335)
at com.yablohn.internal.CouchDbProvider.connectDatabase(CouchDbProvider.java:294)
at com.yablohn.internal.CouchDbProvider.init(CouchDbProvider.java:267)
at com.yablohn.internal.CouchDbProvider.(CouchDbProvider.java)
at com.yablohn.internal.Yablohn.initialize(Yablohn.java:17)
at com.droid4you.application.wallet.Application.onCreate(Application.java:188)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.