java.lang.RuntimeException: An error occured 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

Samebug tips

,
Expert tip

This was issue #159 in Fresco, and was fixed recently, in v1.3.0.

,
Expert tip

Try adding these lines to your manifest: android:hardwareAccelerated="false" and android:largeHeap="true" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

Solutions on the web

via GitHub by GoogleCodeExporter
, 9 months ago
An error occured while executing doInBackground()
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:903)
at android.graphics.Bitmap.createBitmap(Bitmap.java:880)
at undefined.rv.Since(SourceFile:140)
at undefined.arm.Since(SourceFile:265)
at undefined.arm.and(SourceFile:246)
at undefined.arm.Since(SourceFile:60)
at undefined.arp.version(SourceFile:374)
at undefined.jm.Since(SourceFile:21)
at undefined.jm.The(SourceFile:1)
at undefined.jb.call(SourceFile:243)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 times, 1 year ago
11 more bugmates

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