Closed Bug 732359 Opened 14 years ago Closed 13 years ago

java.lang.IndexOutOfBoundsException: Invalid index <n>, size is <n> at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getItem(ListMenuPresenter.java)

Categories

(Firefox for Android Graveyard :: General, defect)

13 Branch
ARM
Android
defect
Not set
critical

Tracking

(blocking-fennec1.0 -)

RESOLVED WORKSFORME
Tracking Status
blocking-fennec1.0 --- -

People

(Reporter: scoobidiver, Unassigned)

Details

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

Crash Data

There's one crash so far: bp-297770ff-7f52-4e68-8587-31f212120302 in 13.0a1/20120301. java.lang.IndexOutOfBoundsException: Invalid index 10, size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getItem(ListMenuPresenter.java:242) at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getView(ListMenuPresenter.java:257) at android.widget.AbsListView.obtainView(AbsListView.java:2014) at android.widget.ListView.measureHeightOfChildren(ListView.java:1244) at android.widget.ListView.onMeasure(ListView.java:1155) at android.view.View.measure(View.java:12723) 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:2092) at android.view.View.measure(View.java:12723) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1064) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at org.mozilla.gecko.GeckoApp$35.run(GeckoApp.java:1796) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) 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:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554) at dalvik.system.NativeStart.main(Native Method) More reports at: https://crash-stats.mozilla.com/report/list?signature=java.lang.IndexOutOfBoundsException%3A+Invalid+index+10%2C+size+is+10+at+java.util.ArrayList.throwIndexOutOfBoundsException%28ArrayList.java%29
FormAssist:AutoComplete issue?
(In reply to Aaron Train [:aaronmt] from comment #1) > FormAssist:AutoComplete issue? I don't think so, it looks more like a menu problem. It's kind of difficult to track down the crash from that stack, since it's full of native methods.
I guess one way to track this down is to try to load as many Addons as possible to fill the menu list.
Crash Signature: [@ java.lang.IndexOutOfBoundsException: Invalid index 10, size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) ] → size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java)] [@ java.lang.IndexOutOfBoundsException: Invalid index 10, size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) ] [@ java.lang.IndexOutOfBoundsEx…
This should be a problem with Tabs-Tray if I'm right. It has to do with some sort of race condition between close and re-drawing the list. ListMenu is confusing me though.
tracking-fennec: ? → ---
blocking-fennec1.0: --- → -
Summary: java.lang.IndexOutOfBoundsException: Invalid index 10, size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) → java.lang.IndexOutOfBoundsException: Invalid index <n>, size is <n> at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) at com.android.internal.view.menu.ListMenuPresenter$MenuAdapter.getItem(ListMenuPresenter.java)
Crash Signature: [@ java.lang.IndexOutOfBoundsException: Invalid index 10, size is 10 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java) ] [@ java.lang.IndexOutOfBoundsException: Invalid index 10 size is 10 at java.util.ArrayList.throwIndexOutOfBoundsE… → [@ java.lang.IndexOutOfBoundsException: Invalid index 15, size is 15 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java)] [@ java.lang.IndexOutOfBoundsException: Invalid index 13 size is 13 at java.util.ArrayList.throwIndexOutOfBoundsEx…
There are no crashes in 20.0.1 and above with the stack trace of comment 0.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.