Closed
Bug 1306497
Opened 9 years ago
Closed 9 years ago
Crash in java.lang.NullPointerException: at org.mozilla.gecko.GeckoAppShell.handleGeckoMessage(GeckoAppShell.java)
Categories
(Core Graveyard :: Widget: Android, defect, P1)
Tracking
(firefox49 unaffected, firefox50 unaffected, firefox51 unaffected, firefox52 fixed)
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | unaffected |
| firefox50 | --- | unaffected |
| firefox51 | --- | unaffected |
| firefox52 | --- | fixed |
People
(Reporter: kats, Assigned: droeh)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
|
1.96 KB,
patch
|
jchen
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-5acb2a49-9a07-468f-9f4d-c52e32160929.
=============================================================
Nightly is crashing even while not running.
Updated•9 years ago
|
| Assignee | ||
Comment 1•9 years ago
|
||
This patch just checks if the GeckoInterface or instance EventDispatcher is null, and skips dispatching to the instance EventDispatcher in that case.
Attachment #8796599 -
Flags: review?(nchen)
Comment 2•9 years ago
|
||
Comment on attachment 8796599 [details] [diff] [review]
handleGeckoMessage null-checking
Review of attachment 8796599 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
@@ +1954,5 @@
> + if (getGeckoInterface() != null && getGeckoInterface().getAppEventDispatcher() != null) {
> + success = EventDispatcher.getInstance().dispatchEvent(message) |
> + getGeckoInterface().getAppEventDispatcher().dispatchEvent(message);
> + } else {
> + success = EventDispatcher.getInstance().dispatchEvent(message);
Just do,
> boolean success = ...;
> if (...) {
> success |= ...;
> }
@@ +1956,5 @@
> + getGeckoInterface().getAppEventDispatcher().dispatchEvent(message);
> + } else {
> + success = EventDispatcher.getInstance().dispatchEvent(message);
> + }
> +
nit: extra space in blank line
Attachment #8796599 -
Flags: review?(nchen) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a08af19f3b3c
Check that the GeckoInterface and instance EventDispatcher are non-null before dispatching events. r=jchen
| Reporter | ||
Updated•9 years ago
|
Priority: -- → P1
| Reporter | ||
Updated•9 years ago
|
status-firefox49:
--- → unaffected
status-firefox50:
--- → unaffected
status-firefox51:
--- → unaffected
status-firefox52:
--- → affected
| Reporter | ||
Comment 4•9 years ago
|
||
This is the most annoying bug ever. I'm just using random other apps and I get the nightly crash reporter dialog interrupting me. I had to downgrade to an older nightly just to get anything done.
Comment 5•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•9 years ago
|
Version: unspecified → Trunk
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•