Closed
Bug 760398
Opened 13 years ago
Closed 6 years ago
java.lang.ArrayIndexOutOfBoundsException: length=<n>; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) mainly on ICS
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 affected, firefox16 affected, firefox17 affected, firefox19 affected, firefox20 affected, firefox21 affected, firefox22 affected, firefox23 affected)
People
(Reporter: scoobidiver, Unassigned)
References
Details
(Keywords: crash, Whiteboard: [native-crash])
Crash Data
There are six crashes in 14.0b3, including: bp-7cd1a8a1-74b8-4225-86b9-c71f12120531.
java.lang.ArrayIndexOutOfBoundsException: length=253; index=-1
at android.text.StaticLayout.calculateEllipsis(StaticLayout.java:804)
at android.text.StaticLayout.out(StaticLayout.java:724)
at android.text.StaticLayout.generate(StaticLayout.java:478)
at android.text.StaticLayout.<init>(StaticLayout.java:140)
at android.widget.TextView.makeSingleLayout(TextView.java:6605)
at android.widget.TextView.makeNewLayout(TextView.java:6451)
at android.widget.TextView.onMeasure(TextView.java:6797)
at android.view.View.measure(View.java:12863)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:594)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:376)
at android.view.View.measure(View.java:12863)
at android.widget.ListView.measureScrapChild(ListView.java:1181)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1246)
at android.widget.ListView.onMeasure(ListView.java:1155)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
at android.view.View.measure(View.java:12863)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:812)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)
at android.view.View.measure(View.java:12863)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)
at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2256)
at android.view.View.measure(View.java:12863)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1197)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2585)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4507)
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:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method)
More reports at:
https://crash-stats.mozilla.com/query/query?product=FennecAndroid&version=ALL%3AALL&range_value=1&range_unit=weeks&query_search=signature&query_type=contains&query=android.text.StaticLayout.calculateEllipsis&do_query=1
Comment 1•13 years ago
|
||
Have an affected user at https://support.mozilla.org/en-US/questions/934349
Reporter | ||
Updated•12 years ago
|
Crash Signature: android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: length=125; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ] → android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: length=125; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: length=10…
Version: Firefox 14 → Firefox 15
Comment 3•12 years ago
|
||
Reported steps in bug 789780 merely indicate selecting a bookmark after using Sync.
Updated•12 years ago
|
status-firefox15:
--- → affected
Comment 4•12 years ago
|
||
Wonder if this a regression from bug 770597, or the value we have for ellipsize on the TextViews in awesomebar_row.xml? Sriram, thoughts?
Assignee: nobody → sriram
Reporter | ||
Updated•12 years ago
|
Crash Signature: java.lang.ArrayIndexOutOfBoundsException: index=-1 length=125 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ] → java.lang.ArrayIndexOutOfBoundsException: index=-1 length=125 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: index=-1 length=509 at android.text.StaticLayout.calculateEllipsis(StaticLayout…
..coming from bug 789780...
I updated to FF 16.0.1 on my Android hoping that this is fixed, but I get the same crash as before.
I (hopefully) submitted this:
bp-44fa85c5-5d6a-4acf-8311-542572121015
Reporter | ||
Comment 6•12 years ago
|
||
With combined signatures, it's #80 top crasher in 16.0.1. There are some crashes in 17.0b1.
It happens almost exclusively on ICS, the remaining crashes occurring on JB.
Summary: java.lang.ArrayIndexOutOfBoundsException: length=<n>; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) → java.lang.ArrayIndexOutOfBoundsException: length=<n>; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) mainly on ICS
Version: Firefox 15 → Firefox 16
Reporter | ||
Updated•12 years ago
|
status-firefox16:
--- → affected
status-firefox17:
--- → affected
Reporter | ||
Updated•12 years ago
|
Crash Signature: android.text.StaticLayout.calculateEllipsis(StaticLayout.java)] → android.text.StaticLayout.calculateEllipsis(StaticLayout.java)]
[@ java.lang.ArrayIndexOutOfBoundsException: length=61; index=-1 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: index=-1 le…
status-firefox19:
--- → affected
status-firefox20:
--- → affected
Version: Firefox 16 → Firefox 19
Reporter | ||
Updated•12 years ago
|
status-firefox21:
--- → affected
status-firefox22:
--- → affected
Reporter | ||
Updated•12 years ago
|
status-firefox23:
--- → affected
Version: Firefox 19 → Trunk
Updated•11 years ago
|
Assignee: sriram → nobody
Updated•9 years ago
|
Crash Signature: length=253 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ] → length=253 at android.text.StaticLayout.calculateEllipsis(StaticLayout.java) ]
[@ java.lang.ArrayIndexOutOfBoundsException: length=253; index=-1 at android.text.StaticLayout.calculateEllipsis ]
[@ java.lang.ArrayIndexOutOfBoundsException: length=509; i…
Comment 7•6 years ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•