Closed Bug 1446211 Opened 6 years ago Closed 6 years ago

Drop down menu crash on certain devices: ClassCastException: String cannot be cast to Boolean

Categories

(GeckoView :: General, defect, P1)

defect

Tracking

(firefox59 wontfix, firefox60 wontfix, firefox61 affected)

RESOLVED FIXED
Tracking Status
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- affected

People

(Reporter: ekager, Assigned: droeh)

Details

(Whiteboard: [geckoview:klar])

Crash on drop down menu. Logcat attached:
https://github.com/mozilla-mobile/focus-android/issues/2225
In the GitHub issue, Oana says she used to be able to reproduce the problem on multiple devices, but now can only reproduce the exception on a Samsung Galaxy Note 4 (Android 5.0.1).

ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.mozilla.gecko.util.GeckoBundle.getBoolean(GeckoBundle.java:131)
at org.mozilla.gecko.util.GeckoBundle.getBoolean(GeckoBundle.java:142)
at org.mozilla.geckoview.GeckoSession$PromptDelegate$Choice.<init>(GeckoSession.java:1731)
at org.mozilla.geckoview.GeckoSession.handlePromptEvent(GeckoSession.java:1113)
at org.mozilla.geckoview.GeckoSession$Listener.handleMessage(GeckoSession.java:449)
Priority: -- → P1
Summary: [geckoview] Drop down menu crash on certain devices → Drop down menu crash on certain devices: ClassCastException: String cannot be cast to Boolean
Whiteboard: [geckoview:klar]
Assignee: nobody → droeh
I think this was fixed in the patch for bug 1438994. Oana, if you can still reproduce on a reasonably up-to-date GeckoView-Klar build, can you post STR? Thanks.
Flags: needinfo?(oana.horvath)
Verified this is fixed following the initial STR on the Samsung Galaxy Note 4 too.
Flags: needinfo?(oana.horvath)
Thanks, resolving this as fixed by bug 1438994.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Firefox for Android → GeckoView
You need to log in before you can comment on or make changes to this bug.