Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Oupsla
, 1 year ago
An error occurred while executing doInBackground()
via GitHub by PampaZiya
, 3 weeks ago
An error occurred while executing doInBackground()
java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:309) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)Caused by: java.lang.NullPointerException: Attempt to get length of null array at net.hockeyapp.android.metrics.Persistence.isFreeSpaceAvailable(Persistence.java:248) at net.hockeyapp.android.metrics.Persistence.persist(Persistence.java:80) at net.hockeyapp.android.metrics.Channel.synchronize(Channel.java:91) at net.hockeyapp.android.metrics.Channel.enqueue(Channel.java:72) at net.hockeyapp.android.metrics.Channel.enqueueData(Channel.java:141) at net.hockeyapp.android.metrics.MetricsManager$1.doInBackground(MetricsManager.java:340) at net.hockeyapp.android.metrics.MetricsManager$1.doInBackground(MetricsManager.java:334) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 3 more