java.lang.IllegalStateException

Cannot execute task: the task has already been executed (a task can be executed only once)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web43

  • via Unknown by Alejandro Cantos,
  • via Unknown by Alejandro Cantos,
  • via Stack Overflow by MrSnaKe
    ,
  • Stack trace

    • java.lang.IllegalStateException: Cannot execute task: the task has already been executed (a task can be executed only once) at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:579) at android.os.AsyncTask.execute(AsyncTask.java:535) at com.dontstoptouching.Lvl1.onTouch(Lvl1.java:89) at android.view.View.dispatchTouchEvent(View.java:7704) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2068) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1515) at android.app.Activity.dispatchTouchEvent(Activity.java:2458) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2016) at android.view.View.dispatchPointerEvent(View.java:7889) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3954) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3833) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3399) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3449) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3418) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3525) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3426) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3582) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3399) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3449) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3418) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3426) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3399) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5612) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5592) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5563) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5692) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:138) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:5050) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) at dalvik.system.NativeStart.main(Native Method)

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Hiren AmaliyarHiren Amaliyar
    6 times, last one
    maxximaxxi
    8 times, last one
    0x600x60
    Once,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates