java.lang.RuntimeException: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?

GitHub | PongPloy2016 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Fatal Exception: java.lang.RuntimeException: android.view.WindowManager$BadTokenException

    GitHub | 9 months ago | PongPloy2016
    java.lang.RuntimeException: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?
  2. 0

    Realm.IO - Could not map Json

    Stack Overflow | 2 years ago | Joe Richard
    java.lang.RuntimeException: io.realm.exceptions.RealmException: Could not map Json at com.loopj.android.http.AsyncHttpResponseHandler.onUserException(AsyncHttpResponseHandler.java:313) at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:404) at com.loopj.android.http.AsyncHttpResponseHandler$ResponderHandler.handleMessage(AsyncHttpResponseHandler.java:184) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5292) 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:824) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640) at dalvik.system.NativeStart.main(Native Method) Caused by: io.realm.exceptions.RealmException: Could not map Json at io.realm.Realm.createAllFromJson(Realm.java:680) at io.realm.Realm.createAllFromJson(Realm.java:732) at uz.sunet.wm.data.Api$1.onSuccess(Api.java:61) at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:360)
  3. 0

    fatal error while using Zxing for coding QR code reader app

    Stack Overflow | 2 years ago | Razer Waran
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.qrcodereader /com.google.zxing.client.android.CaptureActivity}: android.view.InflateException: Binary XML file line #35: Error inflating class <unknown> 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.access$1500(ActivityThread.java:117) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Handler.dispatchMessage(Handler.java:99) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.os.Looper.loop(Looper.java:123) 01-03 13:42:20.931: E/AndroidRuntime(335): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invokeNative(Native Method) 01-03 13:42:20.931: E/AndroidRuntime(335): at java.lang.reflect.Method.invoke(Method.java:507) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-03 13:42:20.931: E/AndroidRuntime(335): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-03 13:42:20.931: E/AndroidRuntime(335):
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android : Proguard and AddThis library

    Stack Overflow | 3 years ago | johann
    java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATActivityGroup}: java.lang.RuntimeException: Unable to start activity ComponentInfo{info.xxx/com.addthis.ui.activities.ATShareActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 0

    Camera Video Saving in portrait mode is not working

    Stack Overflow | 5 years ago | Cintu
    java.lang.RuntimeException: Unable to resume activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=4, result=-1, data=Intent { act=inline-data dat=content://media/external/video/media/70 }} to activity {com.shopnclick.app/com.shopnclick.app.surveyClient}: java.lang.NullPointerException 03-09 15:04:34.120: E/AndroidRuntime(8064): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3134) java.lang.reflect.Method.invoke(Method.java:521) 03-09 15:04:34.120: E/AndroidRuntime(8064): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858) 03-09 15:04:34.120: E/AndroidRuntime(8064):

    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. java.lang.RuntimeException

      android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?

      at com.loopj.android.http.AsyncHttpResponseHandler.onUserException()
    2. android-async-http Library
      AsyncHttpResponseHandler$ResponderHandler.handleMessage
      1. com.loopj.android.http.AsyncHttpResponseHandler.onUserException(AsyncHttpResponseHandler.java:304)
      2. com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:395)
      3. com.loopj.android.http.AsyncHttpResponseHandler$ResponderHandler.handleMessage(AsyncHttpResponseHandler.java:510)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:136)
      3. android.app.ActivityThread.main(ActivityThread.java:5017)
      3 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame