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?

GitHub | ivanarrizabalaga | 5 months ago
  1. 0

    GitHub comment 1102#230146496

    GitHub | 5 months ago | ivanarrizabalaga
    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?
  2. 0

    GitHub comment 1102#230146344

    GitHub | 5 months ago | ifoche
    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?
  3. 0

    GitHub comment 718#168185028

    GitHub | 11 months ago | thestinger
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@eb98303 -- permission denied for this window type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BadTokenException in StatsActivity

    GitHub | 3 years ago | roundhill
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@418db850 is not valid; is your activity running?
  6. 0

    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

    GitHub | 3 years ago | mntgoat
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
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. 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()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:771)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:278)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    4. android.app.Dialog.show(Dialog.java:289)
    4 frames
  3. org.eyeseetea.malariacare
    ProgressActivity$2.run
    1. org.eyeseetea.malariacare.ProgressActivity.showException(ProgressActivity.java:261)
    2. org.eyeseetea.malariacare.ProgressActivity.access$100(ProgressActivity.java:54)
    3. org.eyeseetea.malariacare.ProgressActivity$2.run(ProgressActivity.java:200)
    3 frames
  4. Android Platform
    Activity.runOnUiThread
    1. android.app.Activity.runOnUiThread(Activity.java:4931)
    1 frame
  5. org.eyeseetea.malariacare
    ProgressActivity.onProgressChange
    1. org.eyeseetea.malariacare.ProgressActivity.onProgressChange(ProgressActivity.java:196)
    1 frame
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. com.squareup.otto
    Bus.post
    1. com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
    2. com.squareup.otto.Bus.dispatch(Bus.java:386)
    3. com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:369)
    4. com.squareup.otto.Bus.post(Bus.java:338)
    4 frames
  8. org.hisp.dhis
    MainThreadBus$1.run
    1. org.hisp.dhis.android.sdk.utils.MainThreadBus.access$001(MainThreadBus.java:41)
    2. org.hisp.dhis.android.sdk.utils.MainThreadBus$1.run(MainThreadBus.java:56)
    2 frames
  9. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:733)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:146)
    4. android.app.ActivityThread.main(ActivityThread.java:5598)
    4 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame