Closed Bug 1315938 Opened 8 years ago Closed 8 years ago

Crash in java.lang.NullPointerException: Attempt to invoke virtual method ''boolean org.mozilla.gecko.Tab.isPrivate()'' on a null object reference at org.mozilla.gecko.home.TwoLinePageRow.updateDisplayedUrl(TwoLinePageRow.java)

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P1)

51 Branch
All
Android
defect

Tracking

(firefox51 fixed, firefox52 fixed)

RESOLVED FIXED
Firefox 52
Tracking Status
firefox51 --- fixed
firefox52 --- fixed

People

(Reporter: ahunt, Assigned: ahunt)

Details

(Keywords: crash, Whiteboard: [MobileAS])

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-ce33a3a6-c248-4e4a-8f5c-3be1e2161107.
=============================================================

This is number 10 on Aurora, and is likely to be a simple fix.
I've fiddled with TopSites a lot in the past, so I am probably a good candidate for looking into this.
Assignee: nobody → ahunt
Priority: -- → P1
Whiteboard: [MobileAS]
Comment on attachment 8808590 [details]
Bug 1315938 - Don't crash if tabs aren't initialised yet

https://reviewboard.mozilla.org/r/91396/#review91636
Attachment #8808590 - Flags: review?(s.kaspari) → review+
Let's uplift this to 51.
Iteration: --- → 1.8
OS: Unspecified → Android
Hardware: Unspecified → All
Pushed by ahunt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc22ca7ff05b
Don't crash if tabs aren't initialised yet r=sebastian
https://hg.mozilla.org/mozilla-central/rev/bc22ca7ff05b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Comment on attachment 8808590 [details]
Bug 1315938 - Don't crash if tabs aren't initialised yet

Approval Request Comment
[Feature/regressing bug #]: Unknown - this bug seems to have always been present, but is only triggered in certain scenarios.
[User impact if declined]: Startup crash if gecko is slow to load, or doesn't load.
[Describe test coverage new/current, TreeHerder]: none (patch has been stabilised on nightly, no obvious issues visible).
[Risks and why]: low risk - add null-check for a call that is specified to return null in certain scenarios.
[String/UUID change made/needed]: none.

This crash is currently 20th on Nightly, 15th on Aurora. It seemed to spike with the recent library loading issues (which would prevent gecko from being started before topsites is shown), however this is a beneficial fix in general. Without this patch we have a race condition between topsites being shown, and gecko loading, with a crash when topsites are shown first.
Attachment #8808590 - Flags: approval-mozilla-aurora?
Comment on attachment 8808590 [details]
Bug 1315938 - Don't crash if tabs aren't initialised yet

Fix a crash. Aurora51+.
Attachment #8808590 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
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: