Application Crashes issue on Activity Idle

Put your problem here if it does not fit any of the other categories.

Application Crashes issue on Activity Idle

Postby rakesh86shankar » Tue Jul 30, 2013 6:49 am


I am porting the android application to bb 10 android Run time envoirnment.

Problem which is i have confirmation Activity which is in activity Group,crashes if i keep idle for 10 secs,onPause() of current Activity/ActivityGroup is not getting called,

Issue happens when i confirmation activity is getting called from one way,If i call same confirmation activity thr some other way,Crash is not happening.

Any idea how to handle the root cause of this error.

Crash i am getting is as stated below

07-17 07:26:39.132: E/AndroidRuntime(25620702): java.lang.RuntimeException: Unable to pause activity {}: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

Posts: 38
Joined: Fri May 29, 2009 9:51 am


Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 7 guests