java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1102#230146344
    via GitHub by ifoche
    ,
  • GitHub comment 718#168185028
    via GitHub by thestinger
    ,
    • java.lang.RuntimeException: Could not dispatch event: class org.eyeseetea.malariacare.database.iomodules.dhis.importer.SyncProgressStatus to handler [EventHandler public void org.eyeseetea.malariacare.ProgressActivity.onProgressChange(org.eyeseetea.malariacare.database.iomodules.dhis.importer.SyncProgressStatus)]: Unable to add window -- token android.os.BinderProxy@4274c618 is not valid; is your activity running? at com.squareup.otto.Bus.throwRuntimeException(Bus.java:458) at com.squareup.otto.Bus.dispatch(Bus.java:388) at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:369) at com.squareup.otto.Bus.post(Bus.java:338) at org.hisp.dhis.android.sdk.utils.MainThreadBus.access$001(MainThreadBus.java:41) at org.hisp.dhis.android.sdk.utils.MainThreadBus$1.run(MainThreadBus.java:56) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5598) 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:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4274c618 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:771) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:278) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) at android.app.Dialog.show(Dialog.java:289) at org.eyeseetea.malariacare.ProgressActivity.showException(ProgressActivity.java:261) at org.eyeseetea.malariacare.ProgressActivity.access$100(ProgressActivity.java:54) at org.eyeseetea.malariacare.ProgressActivity$2.run(ProgressActivity.java:200) at android.app.Activity.runOnUiThread(Activity.java:4931) at org.eyeseetea.malariacare.ProgressActivity.onProgressChange(ProgressActivity.java:196) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89) at com.squareup.otto.Bus.dispatch(Bus.java:386) ... 13 more

    Users with the same issue

    Unknown visitor1 times, last one,
    filpgame
    2 times, last one,
    Unknown visitor1 times, last one,
    franky li
    2 times, last one,
    Unknown visitor1 times, last one,
    52 more bugmates