Closed Bug 1253703 Opened 8 years ago Closed 8 years ago

crash in java.lang.IllegalArgumentException: e cannot be null. at org.mozilla.gecko.GeckoAppShell.sendEventToGecko(GeckoAppShell.java)

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

All
Android
defect
Not set
critical

Tracking

(firefox46 fixed, firefox47 fixed, firefox48 fixed, fennec46+)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox46 --- fixed
firefox47 --- fixed
firefox48 --- fixed
fennec 46+ ---

People

(Reporter: jchen, Assigned: jchen)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-322e6f83-876f-447d-afe0-ed52c2160226.
=============================================================

GeckoEvent.createNativeGestureEvent can fail and return null.
createNativeGestureEvent can fail and return null, so we should guard
against that.
Attachment #8726889 - Flags: review?(bugmail.mozilla)
tracking-fennec: --- → ?
Comment on attachment 8726889 [details] [diff] [review]
Null-check createNativeGestureEvent result (v1)

Review of attachment 8726889 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8726889 - Flags: review?(bugmail.mozilla) → review+
Uplift if it is safe to.
tracking-fennec: ? → 46+
https://hg.mozilla.org/mozilla-central/rev/5624c53dd9a5
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Uplift?
Flags: needinfo?(nchen)
Thanks for the reminder!
Flags: needinfo?(nchen)
Comment on attachment 8726889 [details] [diff] [review]
Null-check createNativeGestureEvent result (v1)

Approval Request Comment
[Feature/regressing bug #]: N/A
[User impact if declined]: Rare crash when panning/zooming
[Describe test coverage new/current, TreeHerder]: No test; patch is a simple fix for a rare crash
[Risks and why]: Very small; patch simply avoids the crash and does not touch anything else
[String/UUID change made/needed]: None
Attachment #8726889 - Flags: approval-mozilla-beta?
Attachment #8726889 - Flags: approval-mozilla-aurora?
Comment on attachment 8726889 [details] [diff] [review]
Null-check createNativeGestureEvent result (v1)

Fix a crash, taking it.
Should be in 46 beta 6
Attachment #8726889 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Only a few crashes on aurora/beta 46 here, but let's take it there too
Comment on attachment 8726889 [details] [diff] [review]
Null-check createNativeGestureEvent result (v1)

Crash fix, ok for beta 5/6
Attachment #8726889 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: