janoliver/pOT-Droid — Issue #3: Crash, wenn beim Starten keine Internetverbindung existiert
Author: janoliver
Created: 2012-01-30 12:57:29+00:00
State: open

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:200)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1019)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.(Handler.java:121)
at android.widget.Toast.(Toast.java:68)
at android.widget.Toast.makeText(Toast.java:231)
at com.janoliver.potdroid.activities.BookmarkActivity$PrepareAdapter.doInBackground(BookmarkActivity.java:258)
at com.janoliver.potdroid.activities.BookmarkActivity$PrepareAdapter.doInBackground(BookmarkActivity.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
... 4 more