Closed Bug 1306743 Opened 3 years ago Closed 3 years ago

Crash in java.lang.NullPointerException: Attempt to read from field ''org.mozilla.gecko.EventDispatcher org.mozilla.gecko.GeckoApp.eventDispatcher'' on a null object reference at org.mozilla.gecko.GeckoApp.getEventDispatcher(GeckoApp.java)

Categories

(Firefox for Android :: General, defect, critical)

All
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 52
Tracking Status
firefox52 --- fixed

People

(Reporter: jchen, Assigned: droeh)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-51762322-75a0-429f-b46b-081c62160930.
=============================================================

Regression from bug 1294821. Looks like PushService is registering a listener without an active GeckoApp.
I think it's a mistake to be using the activity-specific EventDispatcher here; it should be the singleton EventDispatcher.
Attachment #8796750 - Flags: review?(nchen)
Attachment #8796750 - Flags: review?(nchen) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d10b44e4e488
Make PushService use the singleton EventDispatcher. r=jchen
https://hg.mozilla.org/mozilla-central/rev/d10b44e4e488
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Duplicate of this bug: 1307323
You need to log in before you can comment on or make changes to this bug.