Wednesday, December 16, 2009

Re: [android-developers] Stack trace does not reference application

This is a known bug in the platform.

2009/12/16 Per Sandström <pg.sandstrom@gmail.com>:
> So I have an app on the market with >10k active users. I have recieved
> maybe 50 complaints from Droid-user that the program crashes
> arbitrarily. I have not been able to replicate the error with my own
> droid, but I got one of the to send me this crash log. However, it
> does not reference the application.
>
> Do you have any suggestions on how to track down this error? I stand
> baffled.
>
> 11-25 16:18:03.730 D/AndroidRuntime( 2964): Shutting down VM
> 11-25 16:18:03.730 W/dalvikvm( 2964): threadid=3: thread exiting with
> uncaught exception (group=0x4001b180)
> 11-25 16:18:03.730 E/AndroidRuntime( 2964): Uncaught handler: thread
> main exiting due to uncaught exception
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): java.lang.
>
> IndexOutOfBoundsException: getChars (5 ... 0) has end before start
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.text.SpannableStringBuilder.checkRange
> (SpannableStringBuilder.java:935)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.text.SpannableStringBuilder.getChars
> (SpannableStringBuilder.java:847)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.text.TextUtils.getChars(TextUtils.java:69)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.text.SpannableStringBuilder.<init>(SpannableStringBuilder.java:
> 59)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.text.SpannableStringBuilder.subSequence
> (SpannableStringBuilder.java:839)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.widget.TextView.extractTextInternal(TextView.java:4542)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.widget.TextView.reportExtractedText(TextView.java:4581)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.widget.TextView.finishBatchEdit(TextView.java:4724)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.widget.TextView.endBatchEdit(TextView.java:4706)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> com.android.internal.widget.EditableInputConnection.endBatchEdit
> (EditableInputConnection.java:54)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> com.android.internal.view.IInputConnectionWrapper.executeMessage
> (IInputConnectionWrapper.java:334)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> com.android.internal.view.IInputConnectionWrapper
> $MyHandler.handleMessage(IInputConnectionWrapper.java:57)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at android.os.Looper.loop
> (Looper.java:123)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> android.app.ActivityThread.main(ActivityThread.java:4310)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> java.lang.reflect.Method.invoke(Method.java:521)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> (ZygoteInit.java:860)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
> 11-25 16:18:03.761 E/AndroidRuntime( 2964): at
> dalvik.system.NativeStart.main(Native Method)
> 11-25 16:18:03.777 I/Process ( 1015): Sending signal. PID: 2964 SIG: 3
> 11-25 16:18:03.777 I/dalvikvm( 2964): threadid=7: reacting to signal 3
> 11-25 16:18:03.832 I/dalvikvm( 2964): Wrote stack trace to '/data/anr/
> traces.txt'
> 11-25 16:18:05.543 I/Process ( 2964): Sending signal. PID: 2964 SIG: 9
> 11-25 16:18:05.558 I/ActivityManager( 1015): Process myapp.myapp (pid
> 2964) has died.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

--
Romain Guy
Android framework engineer
romainguy@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate