Closed Bug 827250 Opened 7 years ago Closed 7 years ago

java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$<n>.doInBackground(GeckoApp.java)

Categories

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

20 Branch
ARM
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 21
Tracking Status
firefox20 --- affected
firefox21 --- fixed

People

(Reporter: scoobidiver, Assigned: mfinkle)

References

Details

(Keywords: crash, regression, Whiteboard: [native-crash])

Crash Data

Attachments

(1 file)

There are four crashes from one user in 20.0a1, including bp-e10ab551-1866-4ed3-9ef3-e568f2130107.

java.lang.NullPointerException
	at org.mozilla.gecko.GeckoApp$17.doInBackground(GeckoApp.java:1351)
	at org.mozilla.gecko.GeckoApp$17.doInBackground(GeckoApp.java:1342)
	at org.mozilla.gecko.util.GeckoAsyncTask$BackgroundTaskRunnable.run(GeckoAsyncTask.java:34)
	at android.os.Handler.handleCallback(Handler.java:605)
	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.GeckoApp%2417.doInBackground%28GeckoApp.java%29
Keywords: regression
Version: Trunk → Firefox 20
Crash Signature: [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$17.doInBackground(GeckoApp.java)] → [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$17.doInBackground(GeckoApp.java)] [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$15.doInBackground(GeckoApp.java)]
Summary: java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$17.doInBackground(GeckoApp.java) → java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp$<n>.doInBackground(GeckoApp.java)
WallpaperManager.getInstance() delegates to context.getSystemService(Context.WALLPAPER_SERVICE) which _could_ return null. Seems really unlikely though, but we obviously have crashes. Bandaid patch coming up.
Attached patch patchSplinter Review
Let's wallpaper over the wallpaper crash
Assignee: nobody → mark.finkle
Attachment #701129 - Flags: review?(bugmail.mozilla)
Comment on attachment 701129 [details] [diff] [review]
patch

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

r=me as long as your commit message includes this :)

> wallpaper over the wallpaper crash
Attachment #701129 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/bd85ddd4cb5a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
You need to log in before you can comment on or make changes to this bug.