If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

java.lang.StringIndexOutOfBoundsException: at java.lang.String.startEndAndLength(String.java) at android.text.SpannableStringInternal.<init>(SpannableStringInternal.java)

NEW
Unassigned

Status

()

Firefox for Android
General
--
critical
5 years ago
2 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

({crash})

16 Branch
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(firefox16 affected, firefox17 affected, firefox18 affected, firefox19 affected, firefox22 affected)

Details

(Whiteboard: [native-crash], crash signature)

(Reporter)

Description

5 years ago
There's one crash in 17.0a1/20120718 with that stack: bp-58e740ec-18c5-4340-ac18-1eb302120718.

java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2
	at java.lang.String.startEndAndLength(String.java:593)
	at java.lang.String.substring(String.java:1474)
	at android.text.SpannableStringInternal.<init>(SpannableStringInternal.java:30)
	at android.text.SpannedString.<init>(SpannedString.java:34)
	at android.text.SpannedString.subSequence(SpannedString.java:38)
	at android.text.method.ReplacementTransformationMethod$SpannedReplacementCharSequence.subSequence(ReplacementTransformationMethod.java:180)
	at android.widget.TextView.getTransformedText(TextView.java:7868)
	at android.widget.Editor.onDrop(Editor.java:1804)
	at android.widget.TextView.onDragEvent(TextView.java:8164)
	at android.view.View.dispatchDragEvent(View.java:16029)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1240)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1240)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1240)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1240)
	at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1240)
	at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:3712)
	at android.view.ViewRootImpl.access$600(ViewRootImpl.java:97)
	at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:2953)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4745)
	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:786)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
https://crash-stats.mozilla.com/query/query?product=FennecAndroid&query_search=signature&query_type=contains&query=java.lang.String.startEndAndLength%28String.java%29&do_query=1
(Reporter)

Comment 1

5 years ago
There's also one report in 15.0b1: bp-50a7e6a8-f39a-4cac-8d92-45f2e2120720.
Crash Signature: [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] → [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] [@ java.lang.StringIndexOutOfBoundsException: length=18; regionStart=-1; regionLength=2 at java.lang.String&hellip;
(Reporter)

Updated

5 years ago
Crash Signature: [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] [@ java.lang.StringIndexOutOfBoundsException: length=18; regionStart=-1; regionLength=2 at java.lang.String&hellip; → [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] [@ java.lang.StringIndexOutOfBoundsException: length=18; regionStart=-1; regionLength=2 at java.lang.String&hellip;
(Reporter)

Updated

5 years ago
status-firefox16: --- → affected
status-firefox17: --- → affected
status-firefox18: --- → affected
Version: Trunk → Firefox 16
(Reporter)

Updated

5 years ago
status-firefox19: --- → affected
status-firefox22: --- → affected

Updated

2 years ago
Crash Signature: [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] [@ java.lang.StringIndexOutOfBoundsException: length=18; regionStart=-1; regionLength=2 at java.lang.String&hellip; → [@ java.lang.StringIndexOutOfBoundsException: length=47; regionStart=-1; regionLength=2 at java.lang.String.startEndAndLength(String.java)] [@ java.lang.StringIndexOutOfBoundsException: length=18; regionStart=-1; regionLength=2 at java.lang.String&hellip;
You need to log in before you can comment on or make changes to this bug.