java.lang.NullPointerException: at org.mozilla.gecko.gfx.LayerView.getViewportMetrics(LayerView.java)

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
6 years ago
2 years ago

People

(Reporter: scoobidiver, Unassigned)

Tracking

({crash})

Trunk
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(firefox17 affected, firefox18 affected)

Details

(Whiteboard: [native-crash], crash signature)

(Reporter)

Description

6 years ago
There's one crash in 17.0a1/20120826: bp-7a6e800c-7ec8-4ab1-a0d5-f206c2120827.

java.lang.NullPointerException
	at org.mozilla.gecko.gfx.LayerView.getViewportMetrics(LayerView.java:148)
	at org.mozilla.gecko.ScreenshotHandler.screenshotWholePage(GeckoAppShell.java:2373)
	at org.mozilla.gecko.ScreenshotHandler.screenshotWholePage(GeckoAppShell.java:2365)
	at org.mozilla.gecko.GeckoAppShell.screenshotWholePage(GeckoAppShell.java:2267)
	at org.mozilla.gecko.GeckoApp$18.run(GeckoApp.java:1213)
	at android.os.Handler.handleCallback(Handler.java:615)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NullPointerException%3A+at+org.mozilla.gecko.gfx.LayerView.getViewportMetrics%28LayerView.java%29
kats, does this crash look like fallout from bug 781220?
status-firefox17: --- → affected
Maybe? A crash with that stack would only happen if we tried to screenshot before calling createLayerClient on the LayerView, and that happens during GeckoApp initialization, before we should ever be screenshotting. I suppose this might happen in some weird race conditions if the "don't keep activities" option is on (or Android otherwise decides to blow away GeckoApp from under us) but it's pretty darn narrow window of opportunity for this to happen.
(Reporter)

Updated

6 years ago
status-firefox18: --- → affected
The "more crash reports" link in comment 0 still has recent crashes, although the stack is different. Leaving this bug open for the new crashes, since crash-stats associates them with this bug.

Updated

3 years ago
Crash Signature: [@ java.lang.NullPointerException: at org.mozilla.gecko.gfx.LayerView.getViewportMetrics(LayerView.java)] → [@ java.lang.NullPointerException: at org.mozilla.gecko.gfx.LayerView.getViewportMetrics(LayerView.java)] [@ java.lang.NullPointerException: at org.mozilla.gecko.gfx.LayerView.getViewportMetrics]
Don't see this any more.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.