Closed Bug 1368377 Opened 2 years ago Closed 2 years ago
Crash in java
.lang .Null Pointer Exception: Attempt to invoke interface method ''android .content .Context org .mozilla .gecko .Context Getter .get Context()'' on a null object reference at org .mozilla .gecko .Gecko App Shell .get Context(Gecko App Shell .java)
This bug was filed from the Socorro interface and is report bp-bc13f889-9027-499e-bd59-454640170528. ============================================================= This is the #1 topcrash for Fennec 55, with 68 occurrences in the past 7 days. The Java stack trace: > java.lang.NullPointerException: Attempt to invoke interface method 'android.content.Context org.mozilla.gecko.ContextGetter.getContext()' on a null object reference > at org.mozilla.gecko.GeckoAppShell.getContext(GeckoAppShell.java:1634) > at org.mozilla.gecko.GlobalHistory.checkVisited(GlobalHistory.java:185) > at org.mozilla.gecko.GlobalHistory.checkUriVisited(GlobalHistory.java:155) > at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method) > at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:405) Jim, any ideas?
This seems to happen when the browser is not running, so is either during a background sync or check for updates.
From the stack I would say this looks like this happens during a background sync operation. To be sure, I have 2 tablets so I disabled sync on one and automatic updates on the other, so I should have the results of this experiment by tomorrow.
I did not have to wait long. The one where I left the sync account enabled and turned off updates has crashed already.
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Technically the patches in bug 1369107 will fix this, but based on the current crash volume I'm going to land a quick fix for this particular bug first.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3005c1464a2c Use app context for GlobalHistory; r=me
You need to log in before you can comment on or make changes to this bug.