java.lang.IllegalStateException: Timer was cancelled

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalStateException: Timer was cancelled
at java.util.Timer.scheduleImpl(Timer.java:566)
at java.util.Timer.schedule(Timer.java:463)
at aarddict.android.ArticleViewActivity.updateNextButtonVisibility(ArticleViewActivity.java:530)
at aarddict.android.ArticleViewActivity.access$9(ArticleViewActivity.java:499)
at aarddict.android.ArticleViewActivity$5.onTouch(ArticleViewActivity.java:234)
at android.view.View.dispatchTouchEvent(View.java:3759)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:913)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:965)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:965)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:965)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:965)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1190)
at android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1640)
at android.view.ViewRoot.doDie(ViewRoot.java:2681)
at android.view.ViewRoot.die(ViewRoot.java:2651)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:218)
at android.view.Window$LocalWindowManager.removeViewImmediate(Window.java:436)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3684)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3789)
at android.app.ActivityThread.access$2400(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2037)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

Users with the same issue

Once, 1 year ago
39 times, 1 week ago
4207 times, 1 week ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.