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 galaxyfeeder
, 2 years ago
An error occured while executing doInBackground()
via GitHub by noamamiran
, 1 year ago
An error occured while executing doInBackground()
via GitHub by LiquidSnack
, 2 years ago
An error occured while executing doInBackground()
via GitHub by nirabpudasaini
, 2 years ago
An error occured while executing doInBackground()
via GitHub by blueleader07
, 2 years ago
An error occured while executing doInBackground()
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.<init>(Handler.java:200)
at android.os.Handler.<init>(Handler.java:114)
at android.view.SurfaceView$1.<init>(SurfaceView.java:126)
at android.view.SurfaceView.<init>(SurfaceView.java:126)
at com.futerox.flashlight.CameraSurface.<init>(CameraSurface.java:49)	at com.futerox.flashlight.Flash.loadParameters(Flash.java:140)	at com.futerox.flashlight.Flash.enableFlash(Flash.java:199)	at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)	at com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)	at android.os.AsyncTask$2.call(AsyncTask.java:288)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)	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)