Closed
Bug 872504
Opened 12 years ago
Closed 12 years ago
java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array. at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox23 fixed, firefox24 verified, fennec23+)
VERIFIED
FIXED
Firefox 24
People
(Reporter: ashish28.sirt, Assigned: wesj)
References
Details
(4 keywords)
Crash Data
Attachments
(3 files)
|
72.52 KB,
text/plain
|
Details | |
|
92.11 KB,
text/plain
|
Details | |
|
3.18 KB,
patch
|
Margaret
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Build ID: 20130511120803
Steps to reproduce:
When i was checking the setting option in Nightly for Android 24.0a1 Found title bar option there.
steps to Reproduce :
1. Launch Nightly for android 24.0a1 build
2. tap on settings option.
3. tap on Title bar option.
Actual results:
It Crashed each time. i tried 5 times , it was reproducible 5/5 times
Expected results:
It Should show the function of Title bar option instead of crashing.
| Reporter | ||
Comment 1•12 years ago
|
||
Android Platform Version : 4.0.4 (ICS)
Please find the logs taken by alogcat
File name : alogcat.2013-05-15-18-49-43+0530.txt
OS: Windows 7 → Android
Hardware: x86_64 → ARM
Comment 2•12 years ago
|
||
Can you provide the crash ID from the about:crashes page, the logcat has no relevant info?
Severity: normal → critical
status-firefox23:
--- → unaffected
status-firefox24:
--- → affected
Flags: needinfo?(ashish28.sirt)
Keywords: crash,
regression
| Reporter | ||
Comment 4•12 years ago
|
||
Hi Scoobidiver ,
I have attached another logs for the same ,
can you please check those and confirm if information can be extracted from those
BR,
Ashish N
Comment 5•12 years ago
|
||
Do you see the same thing if you disable Sync? I see plenty of exceptions Sync related in your logs.
| Reporter | ||
Comment 6•12 years ago
|
||
HI Scoobidiver ,
Please find the Information below form the about:crashes page
The latest Crash Id is :
Report ID :
bp-7028a3bc-fcc0-4e3f-a7ad392532130515
Time : 05/15/13 19:08
BR,
Ashish N
Comment 7•12 years ago
|
||
(In reply to Ashish Namdev from comment #6)
> bp-7028a3bc-fcc0-4e3f-a7ad392532130515
You meant bp-7028a3bc-fcc0-4e3f-a7ad-392532130515 I assume.
Here is the stack trace:
java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array.
at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java:232)
at android.preference.DialogPreference.showDialog(DialogPreference.java:293)
at android.preference.DialogPreference.onClick(DialogPreference.java:264)
at android.preference.Preference.performClick(Preference.java:939)
at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
at android.widget.AdapterView.performItemClick(AdapterView.java:292)
at android.widget.AbsListView.performItemClick(AbsListView.java:1394)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3024)
at android.widget.AbsListView$1.run(AbsListView.java:3830)
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:4517)
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:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(Native Method)
More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.IllegalStateException%3A+ListPreference+requires+an+entries+array+and+an+entryValues+array.+at+android.preference.ListPreference.onPrepareDialogBuilder%28ListPreference.java%29
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Crash Signature: [@ java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array. at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java) ]
tracking-firefox24:
--- → ?
Ever confirmed: true
Keywords: topcrash
Summary: Nightly Android 24.0a1 (2013-05-15) is crashing → java.lang.IllegalStateException: ListPreference requires an entries array and an entryValues array. at android.preference.ListPreference.onPrepareDialogBuilder(ListPreference.java)
Comment 8•12 years ago
|
||
Reproducible.
--
HTC One (Android 4.1)
Nightly (05/15)
Keywords: reproducible
Comment 9•12 years ago
|
||
This try is applied the patch which is bug 868845 for landing: https://tbpl.mozilla.org/?tree=Try&rev=9ca359eaa754
I tried the test build. It does not crash with the reproducible steps. Maybe this is caused with other bugs?
But my main work is very busy now... I'm sorry, I can't research this crash detail at now.
Comment 10•12 years ago
|
||
(In reply to Tetsuharu OHZEKI [:saneyuki_s] from comment #9)
> Maybe this is caused with other bugs?
I would have said part 3&4 of bug 868342 but it has only landed on inbound.
| Assignee | ||
Comment 11•12 years ago
|
||
This is fallout from bug 833625, which gave us three (mostly identical) preference.xml type files (yeah, that's not ideal). We need to update the other two...
| Assignee | ||
Comment 12•12 years ago
|
||
Assignee: nobody → wjohnston
Attachment #750012 -
Flags: review?(margaret.leibovic)
Comment 13•12 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #11)
> This is fallout from bug 833625, which gave us three (mostly identical)
> preference.xml type files (yeah, that's not ideal). We need to update the
> other two...
Why do we have these redundant XML files? Can we file a bug to improve that?
Updated•12 years ago
|
Attachment #750012 -
Flags: review?(margaret.leibovic) → review+
Comment 15•12 years ago
|
||
Follow-up Margaret requested in comment 13: Bug 872754
In short, the problem is that for nested settings screens, tablet UI requires Fragments, and pre-v11 phones don't work with these Fragments for preferences, so every screen that has nested screen has a "Fragment" version and a "non-Fragment" version. Bug 872329 should remove one of the three xml duplicates.
Comment 16•12 years ago
|
||
There are about 85 crashes per build. It would be fine to land the patch.
Updated•12 years ago
|
Status: NEW → ASSIGNED
Keywords: checkin-needed
Updated•12 years ago
|
Comment 17•12 years ago
|
||
Keywords: checkin-needed
Updated•12 years ago
|
Version: Firefox 24 → Firefox 23
Comment 18•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•12 years ago
|
tracking-firefox24:
? → ---
| Reporter | ||
Comment 19•12 years ago
|
||
Hi ,
This Bus is fixed now ,
i checked in Nightly 24.0a1 (2013-05-19)
able to access Title Bar without any crash.
Thank you :)
BR,
Ashish N
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 21•12 years ago
|
||
Comment on attachment 750012 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 778216
User impact if declined: crash
Testing completed (on m-c, etc.): on mc last week
Risk to taking this patch (and alternatives if risky): very low risk. just copying some code that was lost in unbitrotting
String or IDL/UUID changes made by this patch: none
Attachment #750012 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(wjohnston)
Updated•12 years ago
|
Attachment #750012 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 22•12 years ago
|
||
| Reporter | ||
Comment 23•11 years ago
|
||
Hi ,
is this feature removed in Nightly 29.0a1
i am not seeing title Bar option in settings
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
•