java.lang.IllegalStateException

The current thread must have a looper!

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web3

  • Stack trace

    • java.lang.IllegalStateException: The current thread must have a looper! at android.view.Choreographer$1.initialValue(Choreographer.java:96) at android.view.Choreographer$1.initialValue(Choreographer.java:91) at java.lang.ThreadLocal$Values.getAfterMiss(ThreadLocal.java:460) at java.lang.ThreadLocal.get(ThreadLocal.java:65) at android.view.Choreographer.getInstance(Choreographer.java:192) at android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:656) at android.animation.ValueAnimator$AnimationHandler.<init>(ValueAnimator.java:631) at android.animation.ValueAnimator.getOrCreateAnimationHandler(ValueAnimator.java:1453) at android.animation.ValueAnimator.cancel(ValueAnimator.java:1057) at android.animation.AnimatorSet.cancel(AnimatorSet.java:335) at android.animation.StateListAnimator.cancel(StateListAnimator.java:192) at android.animation.StateListAnimator.setState(StateListAnimator.java:176) at android.view.View.drawableStateChanged(View.java:15988) at android.widget.TextView.drawableStateChanged(TextView.java:3659) at android.support.v7.widget.AppCompatButton.drawableStateChanged(AppCompatButton.java:143) at android.view.View.refreshDrawableState(View.java:16032) at android.view.View.setEnabled(View.java:6724) at android.widget.TextView.setEnabled(TextView.java:1446) at com.example.username.nic_volley.MainActivity$3.getParams(MainActivity.java:133) at com.android.volley.Request.getBody(Request.java:397) at com.android.volley.toolbox.HurlStack.addBodyIfExists(HurlStack.java:236) at com.android.volley.toolbox.HurlStack.setConnectionParametersForRequest(HurlStack.java:210) at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:106) at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:93) at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)

    Write tip

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

    No Bugmate found.