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

  1. 0

    Starting background task with access to the UI thread

    Stack Overflow | 3 months ago | David Barishev
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  2. 0

    Android: can not show dialog from AsyncTask class

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    Вылетело при первом запуске

    GitHub | 2 years ago | rjhdby
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    B4A Library - WebSocket Client Library | B4X Community - Android, iOS, desktop programming tools

    b4x.com | 1 year ago
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

  1. NedGr8 1 times, last 6 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

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

    at android.os.Handler.<init>()
  2. Android Platform
    ProgressDialog.<init>
    1. android.os.Handler.<init>(Handler.java:200)
    2. android.os.Handler.<init>(Handler.java:114)
    3. android.app.Dialog.<init>(Dialog.java:119)
    4. android.app.AlertDialog.<init>(AlertDialog.java:200)
    5. android.app.AlertDialog.<init>(AlertDialog.java:196)
    6. android.app.AlertDialog.<init>(AlertDialog.java:141)
    7. android.app.ProgressDialog.<init>(ProgressDialog.java:77)
    7 frames