Stack trace does not reference application

by Per Sandstr枚m » Wed, 16 Dec 2009 23:45:44 GMT


Sponsored Links
 o 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( 10



Stack trace does not reference application

by Romain Guy » Thu, 17 Dec 2009 01:58:16 GMT


 his is a known bug in the platform.

2009/12/16 Per Sandstrm <pg.sandst...@gmail.com>:
>


Sponsored Links


Stack trace does not reference application

by Per Sandstr枚m » Thu, 24 Dec 2009 00:09:01 GMT


 m having huge problems with this right now. More and more droid-users
are suffering from it. Is there any information on when this happens,
so maybe I can do a workaround to avoid the crashes until the
plattform is patched?

On 16 Dec, 18:58, Romain Guy <romain...@android.com> wrote:
> >



Other Threads

1. Extremely slow application loading to emulator

SOLVED!
Closed Eclipse, created a new Workspace, imported the project and now
it's OK :-|

-- 

2. monkey

hi

I am working on fedora 9.
I have created an avd with google api 's and I am able to run monkey
on android emulator.
I typed the following command on the terminal to run monkey tool

adb shell monkey -p com.android.contacts -v 500

I would be grateful if any one can clear the following doubts

1. Where Can I get the list of packages (e.g. com.android.contacts)so
that I can choose to run through monkey?
2. Where does the log gets created when we run monkey tool on fedora?

Basically I am a tester so I did not have idea on the android SDK.


--~--~---------~--~----~------------~-------~--~----~

3. Android Form Generator / Dynamic Interface Generator

4. Can't dispatch DDM chunk 52454151: no handler defined

5. Why does my app "Stop Unexpectedly" every time I remove an item from myListView.

6. PV logging does not work

7. RelativeLayout vertical center issue in Android OS 1.5