Closed Bug 811144 Opened 12 years ago Closed 12 years ago

java.lang.NullPointerException at org.mozilla.gecko.db.BrowserDB.expireHistory(BrowserDB.java:145)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: bnicholson, Assigned: bnicholson)

References

Details

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

Crash Data

Attachments

(1 file)

This is reproducible whenever Fennec is opened with the screen off (using am start). Apparently onPause() is executed immediately at startup, before initialization. We call expireHistory() in onPause(), resulting in a NPE if the database hasn't been initialized.
Attachment #680876 - Flags: review?(wjohnston)
Crash Signature: java.lang.NullPointerException at org.mozilla.gecko.db.BrowserDB.expireHistory(BrowserDB.java:145) at org.mozilla.gecko.GeckoApp$24.run(GeckoApp.java:2133) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessag… → [@ java.lang.NullPointerException: at org.mozilla.gecko.db.BrowserDB.expireHistory(BrowserDB.java)]
Keywords: crash
Whiteboard: [native-crash]
Attachment #680876 - Flags: review?(wjohnston) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: