java.lang.RuntimeException: Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.CacheDetailActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.fasterxml.jackson.databind.JsonNode.asText()' on a null object reference

GitHub | samueltardieu | 7 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

    Crash on empty results from Okapi search

    GitHub | 7 months ago | samueltardieu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.CacheDetailActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.fasterxml.jackson.databind.JsonNode.asText()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String com.fasterxml.jackson.databind.JsonNode.asText()' on a null object reference

      at cgeo.geocaching.connector.oc.OkapiClient.getGeocodeByUrl()
    2. cgeo.geocaching.connector
      OCApiConnector$1.call
      1. cgeo.geocaching.connector.oc.OkapiClient.getGeocodeByUrl(OkapiClient.java:969)
      2. cgeo.geocaching.connector.oc.OCApiConnector$1.call(OCApiConnector.java:131)
      3. cgeo.geocaching.connector.oc.OCApiConnector$1.call(OCApiConnector.java:128)
      3 frames
    3. rxjava
      ExecutorScheduler$ExecutorSchedulerWorker.run
      1. rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)
      2. rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)
      3. rx.Observable.unsafeSubscribe(Observable.java:8314)
      4. rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
      5. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
      6. rx.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:98)
      6 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames