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

Google Groups | Dirk Waltert | 6 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

    Nullpointer Exception when importing gpx file

    Google Groups | 6 months ago | Dirk Waltert
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'java.util.List net.osmand.plus.GPXUtilities$GPXFile.points' on a null object reference

      at net.osmand.plus.helpers.GpxImportHelper$3.doInBackground()
    2. net.osmand.plus
      GpxImportHelper$3.doInBackground
      1. net.osmand.plus.helpers.GpxImportHelper$3.doInBackground(GpxImportHelper.java:178)
      2. net.osmand.plus.helpers.GpxImportHelper$3.doInBackground(GpxImportHelper.java:168)
      2 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:295)
      1 frame
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    5. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
      1 frame
    6. 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