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

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 Coderanch by simone giusti, 11 months ago
An error occurred while executing doInBackground()
via GitHub by billmeek
, 10 months ago
An error occurred while executing doInBackground()
via GitHub by Neamar
, 10 months ago
An error occurred while executing doInBackground()
via GitHub by sarvajeet294
, 5 months ago
An error occurred while executing doInBackground()
via GitHub by Madis0
, 6 months ago
An error occurred while executing doInBackground()
via GitHub by Lineflyer
, 4 months ago
An error occurred while executing doInBackground()
java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/4534-1D1B/DCIM/Camera/20170716_000214.jpg
at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:711)
at com.yalantis.ucrop.task.BitmapLoadTask.processInputUri(BitmapLoadTask.java:193)
at com.yalantis.ucrop.task.BitmapLoadTask.doInBackground(BitmapLoadTask.java:99)
at com.yalantis.ucrop.task.BitmapLoadTask.doInBackground(BitmapLoadTask.java:50)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
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)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.