[Desire Android Development] 1982Strand:
Hey guys, wondered if someone could help me out understanding what this logcat means:

app_vercode:15
device_model:bravo
build_version:2.1.20
condition:1
processName:com.android.settings
pid:1794
uid:1000
tag:null
shortMsg:java.lang.IndexOutOfBoundsException
longMsg:java.lang.IndexOutOfBoundsException: setSpan (-1 ... 1) starts before 0
stackTrace:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 1) starts before 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1959)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1984)
at android.app.ActivityThread.access$600(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1149)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4429)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 1) starts before 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:951)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:527)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:520)
at com.android.settings.widget.ChartDataUsageView.a(ChartDataUsageView.java:652)
at com.android.settings.widget.ChartDataUsageView.b(ChartDataUsageView.java:41)
at com.android.settings.widget.n.a(ChartDataUsageView.java:601)
at com.android.settings.widget.i.a(InvertedChartAxis.java:56)
at com.android.settings.widget.ChartSweepView.dN(ChartSweepView.java:280)
at com.android.settings.widget.ChartSweepView.j(ChartSweepView.java:353)
at com.android.settings.widget.ChartDataUsageView.c(ChartDataUsageView.java:183)
at com.android.settings.DataUsageSummary.onCreateView(DataUsageSummary.java:345)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:828)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.BackStackRecord.run(BackStackRecord.java:622)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1382)
at android.app.Activity.performStart(Activity.java:4474)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
... 11 more

I'm testing miui au ics, I get an fc when trying to access Data Usage, from within Settings. I'm using danish language and I DONT get the error when using English, which typically means a translation error. But I simply can't find it and the Settings.apk recompile fine without error..

But it's the index outofbounds error above that i'm having a hard time to figure out what means and where to solve it :(

EDIT: Sovled. Jokes on me, it WAS a string error. something like "^ 1", where it should be "^1".. Doh!