Re: [android-developers] java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
you could one thing, Delete the bin and Gen directory and do a clean build again and try running. On Wed, Oct 30, 2013 at 12:32 PM, Dilip Kumar Chaudhary < androiddili...@gmail.com> wrote: > Hi Developers, > I'm getting this abnormal errors in XOLO/T1000 phone only.This is app is > working fine on other devices.Actually when we click on the Tab for start > another activity it throws this error.Please suggest me how to solve this > error. > *Logcat: > *W/ActivityManager( 344): Bad activity token: > android.os.BinderProxy@42aed960 > W/ActivityManager( 344): java.lang.ClassCastException: > android.os.BinderProxy cannot be cast to > com.android.server.am.ActivityRecord$Token > W/ActivityManager( 344): at > com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:307) > W/ActivityManager( 344): at > com.android.server.am.ActivityStack.isInStackLocked(ActivityStack.java:484) > W/ActivityManager( 344): at > com.android.server.am.ActivityManagerService.overridePendingTransition(ActivityManagerService.java:2797) > W/ActivityManager( 344): at > android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1338) > W/ActivityManager( 344): at > com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1611) > W/ActivityManager( 344): at > android.os.Binder.execTransact(Binder.java:367) > W/ActivityManager( 344): at dalvik.system.NativeStart.run(Native > Method) > D/PullToRefresh(29800): onSizeChanged. W: 720, H: 828 > D/PullToRefresh(29800): Setting Padding. L: 0, T: -496, R: 0, B: -496 > D/PullToRefresh(29800): First Visible: 0. Visible Count: 0. Total Items:0 > D/PullToRefresh(29800): onSizeChanged. W: 720, H: 730 > D/PullToRefresh(29800): Setting Padding. L: 0, T: -438, R: 0, B: -438 > D/PullToRefresh(29800): First Visible: 0. Visible Count: 0. Total Items:0 > F/libc(29800): Fatal signal 11 (SIGSEGV) at 0x0008 (code=1), > thread 29800 (.zenga.zengatvd) > I/DEBUG ( 122): *** *** *** *** *** *** *** *** *** *** *** *** *** *** > *** *** > I/DEBUG ( 122): Build fingerprint: > 'XOLO/T1000/us9230e1:4.1.1/JRO03C/XOLO_Play_S018_11102013:user/release-keys' > I/DEBUG ( 122): pid: 29800, tid: 29800, name: .zenga.zengatvd >>> > com.zenga.zengatvd <<< > I/DEBUG ( 122): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr > 0008 > I/DEBUG ( 122): r0 5bfde908 r1 0008 r2 r3 0001 > I/DEBUG ( 122): r4 0010 r5 0008 r6 5bfde908 r7 0004 > I/DEBUG ( 122): r8 0008 r9 0008 sl 59f706f4 fp 5bce95a0 > I/DEBUG ( 122): ip 0010 sp bee98e60 lr 5bc612bc pc 5bc23054 > cpsr 2010 > I/DEBUG ( 122): d0 0137442a6000 d1 439bc000439b8000 > I/DEBUG ( 122): d2 43cb8000442a4000 d3 02a944124000 > I/DEBUG ( 122): d4 02490197 d5 43cb8249 > I/DEBUG ( 122): d6 442a4197 d7 44a03f80 > I/DEBUG ( 122): d8 40004000 d9 4434437f > I/DEBUG ( 122): d10 44764000 d11 > I/DEBUG ( 122): d12 d13 > I/DEBUG ( 122): d14 d15 > I/DEBUG ( 122): d16 40854800 d17 7e37e43c8800759c > I/DEBUG ( 122): d18 d19 > I/DEBUG ( 122): d20 d21 > I/DEBUG ( 122): d22 d23 > I/DEBUG ( 122): d24 3fc0e5604f00 d25 4680 > I/DEBUG ( 122): d26 d27 > I/DEBUG ( 122): d28 40608000 d29 > I/DEBUG ( 122): d30 c800 d31 > I/DEBUG ( 122): scr 2813 > I/DEBUG ( 122): > I/DEBUG ( 122): backtrace: > I/DEBUG ( 122): #00 pc 9054 > /system/lib/egl/libGLESv2_tegra_impl.so > I/DEBUG ( 122): #01 pc 000472b8 > /system/lib/egl/libGLESv2_tegra_impl.so > I/DEBUG ( 122): > I/DEBUG ( 122): stack: > I/DEBUG ( 122): bee98e20 59f6a3dc > I/DEBUG ( 122): bee98e24 0610 > I/DEBUG ( 122): bee98e28 0048 > I/DEBUG ( 122): bee98e2c 59f37a11 > /system/lib/libardrv_dynamic.so > I/DEBUG ( 122): bee98e30 > I/DEBUG ( 122): bee98e34 59f6a3dc > I/DEBUG ( 122): bee98e38 59f6d7d0 > I/DEBUG ( 122): bee98e3c 59f6b5fc > I/DEBUG ( 122): bee98e40 59f6b548 > I/DEBUG ( 122): bee98e44 59f05891 > /system/lib/libnvrm_graphics.so (NvRmStreamBegin+80) > I/DEBUG ( 122): bee98e48 > I/DEBUG ( 122): bee98e4c 59f6a3dc > I/DEBUG ( 122): bee98e50 59f6d888 > I/DEBUG ( 122): bee98e54 59f6b5fc > I/DEBUG ( 122): bee98e58 df0027ad > I/DEBUG ( 122): bee98e5c > I/DEBUG ( 122): #00 bee98e60 0008 > I
[android-developers] java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
Hi Developers, I'm getting this abnormal errors in XOLO/T1000 phone only.This is app is working fine on other devices.Actually when we click on the Tab for start another activity it throws this error.Please suggest me how to solve this error. *Logcat: *W/ActivityManager( 344): Bad activity token: android.os.BinderProxy@42aed960 W/ActivityManager( 344): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token W/ActivityManager( 344): at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:307) W/ActivityManager( 344): at com.android.server.am.ActivityStack.isInStackLocked(ActivityStack.java:484) W/ActivityManager( 344): at com.android.server.am.ActivityManagerService.overridePendingTransition(ActivityManagerService.java:2797) W/ActivityManager( 344): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1338) W/ActivityManager( 344): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1611) W/ActivityManager( 344): at android.os.Binder.execTransact(Binder.java:367) W/ActivityManager( 344): at dalvik.system.NativeStart.run(Native Method) D/PullToRefresh(29800): onSizeChanged. W: 720, H: 828 D/PullToRefresh(29800): Setting Padding. L: 0, T: -496, R: 0, B: -496 D/PullToRefresh(29800): First Visible: 0. Visible Count: 0. Total Items:0 D/PullToRefresh(29800): onSizeChanged. W: 720, H: 730 D/PullToRefresh(29800): Setting Padding. L: 0, T: -438, R: 0, B: -438 D/PullToRefresh(29800): First Visible: 0. Visible Count: 0. Total Items:0 F/libc(29800): Fatal signal 11 (SIGSEGV) at 0x0008 (code=1), thread 29800 (.zenga.zengatvd) I/DEBUG ( 122): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 122): Build fingerprint: 'XOLO/T1000/us9230e1:4.1.1/JRO03C/XOLO_Play_S018_11102013:user/release-keys' I/DEBUG ( 122): pid: 29800, tid: 29800, name: .zenga.zengatvd >>> com.zenga.zengatvd <<< I/DEBUG ( 122): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0008 I/DEBUG ( 122): r0 5bfde908 r1 0008 r2 r3 0001 I/DEBUG ( 122): r4 0010 r5 0008 r6 5bfde908 r7 0004 I/DEBUG ( 122): r8 0008 r9 0008 sl 59f706f4 fp 5bce95a0 I/DEBUG ( 122): ip 0010 sp bee98e60 lr 5bc612bc pc 5bc23054 cpsr 2010 I/DEBUG ( 122): d0 0137442a6000 d1 439bc000439b8000 I/DEBUG ( 122): d2 43cb8000442a4000 d3 02a944124000 I/DEBUG ( 122): d4 02490197 d5 43cb8249 I/DEBUG ( 122): d6 442a4197 d7 44a03f80 I/DEBUG ( 122): d8 40004000 d9 4434437f I/DEBUG ( 122): d10 44764000 d11 I/DEBUG ( 122): d12 d13 I/DEBUG ( 122): d14 d15 I/DEBUG ( 122): d16 40854800 d17 7e37e43c8800759c I/DEBUG ( 122): d18 d19 I/DEBUG ( 122): d20 d21 I/DEBUG ( 122): d22 d23 I/DEBUG ( 122): d24 3fc0e5604f00 d25 4680 I/DEBUG ( 122): d26 d27 I/DEBUG ( 122): d28 40608000 d29 I/DEBUG ( 122): d30 c800 d31 I/DEBUG ( 122): scr 2813 I/DEBUG ( 122): I/DEBUG ( 122): backtrace: I/DEBUG ( 122): #00 pc 9054 /system/lib/egl/libGLESv2_tegra_impl.so I/DEBUG ( 122): #01 pc 000472b8 /system/lib/egl/libGLESv2_tegra_impl.so I/DEBUG ( 122): I/DEBUG ( 122): stack: I/DEBUG ( 122): bee98e20 59f6a3dc I/DEBUG ( 122): bee98e24 0610 I/DEBUG ( 122): bee98e28 0048 I/DEBUG ( 122): bee98e2c 59f37a11 /system/lib/libardrv_dynamic.so I/DEBUG ( 122): bee98e30 I/DEBUG ( 122): bee98e34 59f6a3dc I/DEBUG ( 122): bee98e38 59f6d7d0 I/DEBUG ( 122): bee98e3c 59f6b5fc I/DEBUG ( 122): bee98e40 59f6b548 I/DEBUG ( 122): bee98e44 59f05891 /system/lib/libnvrm_graphics.so (NvRmStreamBegin+80) I/DEBUG ( 122): bee98e48 I/DEBUG ( 122): bee98e4c 59f6a3dc I/DEBUG ( 122): bee98e50 59f6d888 I/DEBUG ( 122): bee98e54 59f6b5fc I/DEBUG ( 122): bee98e58 df0027ad I/DEBUG ( 122): bee98e5c I/DEBUG ( 122): #00 bee98e60 0008 I/DEBUG ( 122): I/DEBUG ( 122): #01 bee98e60 0008 I/DEBUG ( 122): bee98e64 0004 I/DEBUG ( 122): bee98e68 0002c908 I/DEBUG ( 122): bee98e6c I/DEBUG ( 122): bee98e70 0002 I/DEBUG ( 122): bee98e74 5bc612bc /system/lib/egl/libGLESv2_tegra_impl.so I/DEBU