java.lang.NullPointerException: Attempt to invoke interface method ``` 'void com.couchbase.lite.storage.SQLiteStorageEngine.setTransactionSuccessful()' on a null object reference

GitHub | trramsiq | 5 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

    GitHub comment 1009#250542334

    GitHub | 5 months ago | trramsiq
    java.lang.NullPointerException: Attempt to invoke interface method ``` 'void com.couchbase.lite.storage.SQLiteStorageEngine.setTransactionSuccessful()' on a null object reference
  2. 0

    GitHub comment 1009#250868109

    GitHub | 5 months ago | hideki
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method ``` 'void com.couchbase.lite.storage.SQLiteStorageEngine.setTransactionSuccessful()' on a null object reference

      at com.couchbase.lite.store.SQLiteStore.endTransaction()
    2. com.couchbase.lite
      Document.putProperties
      1. com.couchbase.lite.store.SQLiteStore.endTransaction(SourceFile:2358)
      2. com.couchbase.lite.store.SQLiteStore.add(SourceFile:1607)
      3. com.couchbase.lite.Database.put(SourceFile:1844)
      4. com.couchbase.lite.Database.putRevision(SourceFile:1794)
      5. com.couchbase.lite.Database.putRevision(SourceFile:1785)
      6. com.couchbase.lite.Document.putProperties(SourceFile:523)
      7. com.couchbase.lite.Document.putProperties(SourceFile:350)
      7 frames
    3. com.app.DevUtilities
      Cache.store
      1. com.app.DevUtilities.Cache.Cache.store(SourceFile:76)
      1 frame