Nathanpetreli05 / bcmon

Automatically exported from code.google.com/p/bcmon
0 stars 0 forks source link

Runtime exception on android 2.3.3 #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
E/AndroidRuntime( 1121): FATAL EXCEPTION: main
E/AndroidRuntime( 1121): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.bcmon.bcmon/com.bcmon.bcmon.MainActivity}: android.view.WindowMa
nager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40
51aaa8 is not valid; is your activity running?
E/AndroidRuntime( 1121):        at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1728)
E/AndroidRuntime( 1121):        at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:1747)
E/AndroidRuntime( 1121):        at android.app.ActivityThread.access$1500(Activi
tyThread.java:155)
E/AndroidRuntime( 1121):        at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:993)
E/AndroidRuntime( 1121):        at android.os.Handler.dispatchMessage(Handler.ja
va:130)
E/AndroidRuntime( 1121):        at android.os.Looper.loop(SourceFile:351)
E/AndroidRuntime( 1121):        at android.app.ActivityThread.main(ActivityThrea
d.java:3814)
E/AndroidRuntime( 1121):        at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1121):        at java.lang.reflect.Method.invoke(Method.java:5
38)
E/AndroidRuntime( 1121):        at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:901)
E/AndroidRuntime( 1121):        at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:659)
E/AndroidRuntime( 1121):        at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 1121): Caused by: android.view.WindowManager$BadTokenException
: Unable to add window -- token android.os.BinderProxy@4051aaa8 is not valid; is
 your activity running?
E/AndroidRuntime( 1121):        at android.view.ViewRoot.setView(ViewRoot.java:5
64)
E/AndroidRuntime( 1121):        at android.view.WindowManagerImpl.addView(Window
ManagerImpl.java:209)
E/AndroidRuntime( 1121):        at android.view.WindowManagerImpl.addView(Window
ManagerImpl.java:123)
E/AndroidRuntime( 1121):        at android.view.Window$LocalWindowManager.addVie
w(Window.java:455)
E/AndroidRuntime( 1121):        at android.app.Dialog.show(Dialog.java:272)
E/AndroidRuntime( 1121):        at android.app.AlertDialog$Builder.show(AlertDia
log.java:849)
E/AndroidRuntime( 1121):        at com.bcmon.bcmon.Manager.checkAndInstallBusyBo
x(Manager.java:470)
E/AndroidRuntime( 1121):        at com.bcmon.bcmon.MainActivity.onCreate(MainAct
ivity.java:51)
E/AndroidRuntime( 1121):        at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1082)
E/AndroidRuntime( 1121):        at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1692)
E/AndroidRuntime( 1121):        ... 11 more
W/ActivityManager(  169):   Force finishing activity com.bcmon.bcmon/.MainActivi
ty

Original issue reported on code.google.com by mihir.ja...@gmail.com on 25 Sep 2013 at 4:35