java.lang.IllegalStateException: The current thread must have a looper!

Stack Overflow | user2546419 | 5 months ago
  1. 0

    Why is my android app giving an illegalStateException

    Stack Overflow | 5 months ago | user2546419
    java.lang.IllegalStateException: The current thread must have a looper!
  2. 0

    Android: Java Exception after some time running animation

    Xamarin Bugzilla | 2 years ago | t.brand
    java.lang.IllegalStateException: The current thread must have a looper!
  3. 0

    Android System: Multiple Callback how to: ERROR The current thread must have a looper

    blogspot.com | 1 year ago
    java.lang.IllegalStateException: The current thread must have a looper!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Multiple Callback how to: ERROR The current thread must have a looper

    Stack Overflow | 1 year ago | Noer Cholis
    java.lang.IllegalStateException: The current thread must have a looper!
  6. 0

    GitHub comment 1498#107702808

    GitHub | 2 years ago | akash-more4apps
    java.lang.IllegalStateException: The current thread must have a looper! 06-02 08:41:36.171: W/System.err(17102): at android.view.Choreographer$1.initialValue(Choreographer.java:97) 06-02 08:41:36.171: W/System.err(17102): at android.view.Choreographer$1.initialValue(Choreographer.java:92) 06-02 08:41:36.171: W/System.err(17102): at java.lang.ThreadLocal$Values.getAfterMiss(ThreadLocal.java:430) 06-02 08:41:36.171: W/System.err(17102): at java.lang.ThreadLocal.get(ThreadLocal.java:65) 06-02 08:41:36.171: W/System.err(17102): at android.view.Choreographer.getInstance(Choreographer.java:200) 06-02 08:41:36.171: W/System.err(17102): at android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:557) 06-02 08:41:36.171: W/System.err(17102): at android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:535) 06-02 08:41:36.171: W/System.err(17102): at android.animation.ValueAnimator.getOrCreateAnimationHandler(ValueAnimator.java:1249) 06-02 08:41:36.172: W/System.err(17102): at android.animation.ValueAnimator.end(ValueAnimator.java:952) 06-02 08:41:36.172: W/System.err(17102): at android.animation.AnimatorSet.end(AnimatorSet.java:341) 06-02 08:41:36.172: W/System.err(17102): at com.android.internal.app.ActionBarImpl.doHide(ActionBarImpl.java:729) 06-02 08:41:36.172: W/System.err(17102): at com.android.internal.app.ActionBarImpl.updateVisibility(ActionBarImpl.java:663) 06-02 08:41:36.172: W/System.err(17102): at com.android.internal.app.ActionBarImpl.hide(ActionBarImpl.java:618) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.impl.android.AndroidImplementation$NotifyActionBar.run(AndroidImplementation.java:1722) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.impl.android.AndroidImplementation.init(AndroidImplementation.java:423) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.impl.android.AndroidImplementation.confirmControlView(AndroidImplementation.java:628) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.ui.Display.setCurrentForm(Display.java:1439) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.ui.Display.setCurrent(Display.java:1384) 06-02 08:41:36.173: W/System.err(17102): at com.codename1.ui.Form.showModal(Form.java:1639)

    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.IllegalStateException

      The current thread must have a looper!

      at android.view.Choreographer$1.initialValue()
    2. Android Platform
      Choreographer$1.initialValue
      1. android.view.Choreographer$1.initialValue(Choreographer.java:96)
      2. android.view.Choreographer$1.initialValue(Choreographer.java:91)
      2 frames
    3. Java RT
      ThreadLocal.get
      1. java.lang.ThreadLocal$Values.getAfterMiss(ThreadLocal.java:460)
      2. java.lang.ThreadLocal.get(ThreadLocal.java:65)
      2 frames
    4. Android Platform
      TextView.drawableStateChanged
      1. android.view.Choreographer.getInstance(Choreographer.java:192)
      2. android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:656)
      3. android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:631)
      4. android.animation.ValueAnimator.getOrCreateAnimationHandler(ValueAnimator.java:1453)
      5. android.animation.ValueAnimator.cancel(ValueAnimator.java:1057)
      6. android.animation.AnimatorSet.cancel(AnimatorSet.java:335)
      7. android.animation.StateListAnimator.cancel(StateListAnimator.java:192)
      8. android.animation.StateListAnimator.setState(StateListAnimator.java:176)
      9. android.view.View.drawableStateChanged(View.java:15988)
      10. android.widget.TextView.drawableStateChanged(TextView.java:3659)
      10 frames
    5. Android v7
      AppCompatButton.drawableStateChanged
      1. android.support.v7.widget.AppCompatButton.drawableStateChanged(AppCompatButton.java:143)
      1 frame
    6. Android Platform
      TextView.setEnabled
      1. android.view.View.refreshDrawableState(View.java:16032)
      2. android.view.View.setEnabled(View.java:6724)
      3. android.widget.TextView.setEnabled(TextView.java:1446)
      3 frames
    7. com.example.username
      MainActivity$3.getParams
      1. com.example.username.nic_volley.MainActivity$3.getParams(MainActivity.java:133)
      1 frame
    8. Android-Volley Library
      NetworkDispatcher.run
      1. com.android.volley.Request.getBody(Request.java:397)
      2. com.android.volley.toolbox.HurlStack.addBodyIfExists(HurlStack.java:236)
      3. com.android.volley.toolbox.HurlStack.setConnectionParametersForRequest(HurlStack.java:210)
      4. com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:106)
      5. com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:93)
      6. com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)
      6 frames