Discussion Forums  >  Uncategorized

Replies: 2    Views: 1247

Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
03/08/11 07:54 AM (14 years ago)

Freeze Error on published android app. ANR keyDispatchingTimedOut

Hi Guys, Maybe someone can help me out. I received a error message in my android console stating that there was a freeze error on my app. It says just thisANR keyDispatchingTimedOut. Can anyone explain to me what this means as there are many users and only 1 error complaint. Here is the Stack Trace. Thanks for your help! Anthony Stack traces v1.4Mar 8, 2011 1:08:16 AM OTHER -------------------------------------------------------------------------------- DALVIK THREADS: main prio=5 tid=1 RUNNABLE | group=main sCount=1 dsCount=0 s=Y obj=0x40020a30 self=0xcd88 | sysTid=21394 nice=0 sched=0/0 cgrp=default handle=-1345026000 at java.lang.String.(String.java:~474) at java.lang.AbstractStringBuilder.toString(AbstractStringBuilder.java:659) at java.lang.StringBuilder.toString(StringBuilder.java:664) at com.v1_4.B258A4C7E970353E.com.AppDelegate.getLocalText(AppDelegate.java:242) at com.v1_4.B258A4C7E970353E.com.Act_Home.initGUI(Act_Home.java:176) at com.v1_4.B258A4C7E970353E.com.Act_Home$1.handleMessage(Act_Home.java:444) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:651) at dalvik.system.NativeStart.main(Native Method) Binder Thread #4 prio=5 tid=9 NATIVE | group=main sCount=1 dsCount=0 s=N obj=0x45acb538 self=0x2b74f8 | sysTid=21405 nice=0 sched=0/0 cgrp=default handle=1183680 at dalvik.system.NativeStart.run(Native Method) Binder Thread #3 prio=5 tid=8 NATIVE | group=main sCount=1 dsCount=0 s=N obj=0x45ae2650 self=0x220c68 | sysTid=21404 nice=0 sched=0/0 cgrp=default handle=2778600 at dalvik.system.NativeStart.run(Native Method) Binder Thread #2 prio=5 tid=6 NATIVE | group=main sCount=1 dsCount=0 s=N obj=0x45a66c78 self=0x11cbc8 | sysTid=21399 nice=0 sched=0/0 cgrp=default handle=1191896 at dalvik.system.NativeStart.run(Native Method) Binder Thread #1 prio=5 tid=5 NATIVE | group=main sCount=1 dsCount=0 s=N obj=0x45a61820 self=0x123be0 | sysTid=21398 nice=0 sched=0/0 cgrp=default handle=1281128 at dalvik.system.NativeStart.run(Native Method) Compiler daemon prio=5 tid=4 VMWAIT | group=system sCount=1 dsCount=0 s=N obj=0x45a602a0 self=0x138a78 | sysTid=21397 nice=0 sched=0/0 cgrp=default handle=1218584 at dalvik.system.NativeStart.run(Native Method) Signal Catcher daemon prio=5 tid=3 RUNNABLE | group=system sCount=0 dsCount=0 s=N obj=0x45a601e8 self=0x129628 | sysTid=21396 nice=0 sched=0/0 cgrp=default handle=1271640 at dalvik.system.NativeStart.run(Native Method) HeapWorker daemon prio=5 tid=2 VMWAIT | group=system sCount=1 dsCount=0 s=Y obj=0x43b6b7d0 self=0x12bcc0 | sysTid=21395 nice=0 sched=0/0 cgrp=default handle=1271576 at dalvik.system.NativeStart.run(Native Method)Stack trace not available This report was sent in by a pre-Froyo client, which did not include an ANR stack trace. ? Prevof Next ?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/08/11 11:08 AM (14 years ago)
Youza... could be SO MANY things. It's good that this is the only report. I can say that thousands of these things are in the wild and there is a small percentage of error reports. It does happen, just not very often. It's tough to pinpoint on a case-by-case basis. In this case, it looks like the app had some trouble (delay, network latency, etc) building a resource to display. By looking at it, it looks like the getLocalText(AppDelegate.java:242) method caused this. Again, tough to say. I would wait to see if you get a few more reports before I would worry about it. If a pattern develops, we'll want to help figure this out with you ;-)
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
03/08/11 11:35 AM (14 years ago)
Thanks Pal.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.