java.lang.RuntimeException: An error occurred while executing doInBackground()

GitHub | hideki | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1009#250868109

    GitHub | 5 months ago | hideki
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 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

    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(SQLiteStore.java:2358)
      2. com.couchbase.lite.store.SQLiteStore.add(SQLiteStore.java:1607)
      3. com.couchbase.lite.Database.put(Database.java:1844)
      4. com.couchbase.lite.Database.putRevision(Database.java:1794)
      5. com.couchbase.lite.Database.putRevision(Database.java:1785)
      6. com.couchbase.lite.Document.putProperties(Document.java:523)
      7. com.couchbase.lite.Document.putProperties(Document.java:350)
      7 frames
    3. com.example.tristanrichard
      MainActivity$ActivityTask.doInBackground
      1. com.example.tristanrichard.coucbasesample.MainActivity.store(MainActivity.java:54)
      2. com.example.tristanrichard.coucbasesample.MainActivity$ActivityTask.doInBackground(MainActivity.java:91)
      3. com.example.tristanrichard.coucbasesample.MainActivity$ActivityTask.doInBackground(MainActivity.java:73)
      3 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:304)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame