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

GitHub | audax | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash in password reset fragment

    GitHub | 2 months ago | audax
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  2. 0

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

    Stack Overflow | 1 year ago | MPorto
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:200)
  3. 0

    无网络的时候点击干货详情崩溃啦

    GitHub | 1 year ago | sfsheng0322
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to resolve FileNotFound Exception in browser connection in android?

    Stack Overflow | 2 years ago | Manoj
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
  6. 0

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

    GitHub | 3 years ago | kazemnejad
    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
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
    Toast.makeText
    1. android.os.Handler.<init>(Handler.java:200)
    2. android.os.Handler.<init>(Handler.java:114)
    3. android.widget.Toast$TN.<init>(Toast.java:348)
    4. android.widget.Toast.<init>(Toast.java:104)
    5. android.widget.Toast.makeText(Toast.java:262)
    6. android.widget.Toast.makeText(Toast.java:289)
    6 frames
  3. de.qabel.qabelbox
    RequestCallback.onResponse
    1. de.qabel.qabelbox.startup.fragments.CreateAccountResetPasswordFragment$1.onError(CreateAccountResetPasswordFragment.java:109)
    2. de.qabel.qabelbox.communication.callbacks.RequestCallback.onResponse(RequestCallback.java:55)
    2 frames
  4. okhttp3
    RealCall$AsyncCall.execute
    1. okhttp3.RealCall$AsyncCall.execute(RealCall.java:126)
    1 frame
  5. okhttp3.internal
    NamedRunnable.run
    1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames