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

GitHub | jaredsburrows | 5 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

    Caused by: java.lang.NullPointerException: Attempt to get length of null array

    GitHub | 5 months ago | jaredsburrows
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to get length of null array

      at net.hockeyapp.android.metrics.Persistence.isFreeSpaceAvailable()
    2. net.hockeyapp.android
      MetricsManager$1.doInBackground
      1. net.hockeyapp.android.metrics.Persistence.isFreeSpaceAvailable(Persistence.java:248)
      2. net.hockeyapp.android.metrics.Persistence.persist(Persistence.java:80)
      3. net.hockeyapp.android.metrics.Channel.synchronize(Channel.java:91)
      4. net.hockeyapp.android.metrics.Channel.enqueue(Channel.java:72)
      5. net.hockeyapp.android.metrics.Channel.enqueueData(Channel.java:141)
      6. net.hockeyapp.android.metrics.MetricsManager$1.doInBackground(MetricsManager.java:340)
      7. net.hockeyapp.android.metrics.MetricsManager$1.doInBackground(MetricsManager.java:334)
      7 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:295)
      1 frame
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      4. java.lang.Thread.run(Thread.java:818)
      4 frames