java.lang.NullPointerException

GitHub | mtrakal | 8 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.
  1. 0

    NPE and RemoteRequestCompletionBlock in 1.3.0-12

    GitHub | 8 months ago | mtrakal
    java.lang.NullPointerException
  2. 0

    GitHub comment 909#230094268

    GitHub | 8 months ago | mtrakal
    java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.couchbase.lite.Database.getRevisionHistoryDictStartingFromAnyAncestor()
    2. com.couchbase.lite
      RemoteRequest.run
      1. com.couchbase.lite.Database.getRevisionHistoryDictStartingFromAnyAncestor(Database.java:1478)
      2. com.couchbase.lite.replicator.PusherInternal$5.onCompletion(PusherInternal.java:462)
      3. com.couchbase.lite.replicator.RemoteRequestRetry$1.completed(RemoteRequestRetry.java:342)
      4. com.couchbase.lite.replicator.RemoteRequestRetry$1.onCompletion(RemoteRequestRetry.java:301)
      5. com.couchbase.lite.replicator.RemoteRequest.respondWithResult(RemoteRequest.java:300)
      6. com.couchbase.lite.replicator.RemoteRequest.executeRequest(RemoteRequest.java:288)
      7. com.couchbase.lite.replicator.RemoteRequest.execute(RemoteRequest.java:165)
      8. com.couchbase.lite.replicator.RemoteRequest.run(RemoteRequest.java:105)
      8 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:137)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
      8. java.lang.Thread.run(Thread.java:856)
      8 frames