java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.getMessage()' on a null object reference

GitHub | borrrden | 6 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

    NullPointerException when showing toast message

    GitHub | 6 months ago | borrrden
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.getMessage()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.getMessage()' on a null object reference

      at com.couchbase.todolite.Application.changed()
    2. com.couchbase.todolite
      Application.changed
      1. com.couchbase.todolite.Application.changed(Application.java:223)
      1 frame
    3. com.couchbase.lite
      ReplicationInternal$13.run
      1. com.couchbase.lite.replicator.Replication.changed(Replication.java:425)
      2. com.couchbase.lite.replicator.ReplicationInternal$13.run(ReplicationInternal.java:1262)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      6. java.lang.Thread.run(Thread.java:761)
      6 frames