java.lang.RuntimeException

Can't create handler inside thread that has not called Looper.prepare()

Samebug tips1

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:197) at android.os.Handler.<init>(Handler.java:111) at android.content.Loader$ForceLoadContentObserver.<init>(Loader.java:72) at android.content.CursorLoader.<init>(CursorLoader.java:137) at org.apache.cordova.camera.FileHelper.getRealPathFromURI_API11to18(FileHelper.java:154) at org.apache.cordova.camera.FileHelper.getRealPath(FileHelper.java:60) at org.apache.cordova.camera.CameraLauncher.processResultFromGallery(CameraLauncher.java:620) at org.apache.cordova.camera.CameraLauncher.access$000(CameraLauncher.java:66) at org.apache.cordova.camera.CameraLauncher$1.run(CameraLauncher.java:778) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:841)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Hiren AmaliyarHiren Amaliyar
27 times, last one
winer222winer222
288 times, last one
filpgamefilpgame
128 times, last one
Indri YunitaIndri Yunita
11 times, last one
AdrienAdrien
2 times, last one
35 more bugmates