Closed Bug 1399148 Opened 2 years ago Closed 2 years ago

Crash in java.lang.NullPointerException: Attempt to invoke interface method ''int android.text.Editable.getSpanEnd(java.lang.Object)'' on a null object reference at org.mozilla.gecko.toolbar.ToolbarDisplayLayout.scrollTitle(ToolbarDisplayLayout.java)

Categories

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

57 Branch
Unspecified
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- fixed

People

(Reporter: calixte, Assigned: JanH)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression, topcrash, Whiteboard: [clouseau])

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is 
report bp-d1057240-3880-4736-a7b4-232de0170912.
=============================================================

There are 79 crashes in nightly 57 with buildid 20170912100132. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1271998.

[1] https://hg.mozilla.org/mozilla-central/rev/953adb3e5e83
Flags: needinfo?(jh+bugzilla)
Crash Signature: [@ java.lang.NullPointerException: Attempt to invoke interface method ''int android.text.Editable.getSpanEnd(java.lang.Object)'' on a null object reference at org.mozilla.gecko.toolbar.ToolbarDisplayLayout.scrollTitle(ToolbarDisplayLayout.java)] → [@ java.lang.NullPointerException: Attempt to invoke interface method ''int android.text.Editable.getSpanEnd(java.lang.Object)'' on a null object reference at org.mozilla.gecko.toolbar.ToolbarDisplayLayout.scrollTitle(ToolbarDisplayLayout.java)] [@ java.…
This crash is ranked #7 in nightly top-crashers.
Keywords: topcrash
Assignee: nobody → jh+bugzilla
Flags: needinfo?(jh+bugzilla)
Comment on attachment 8907182 [details]
Bug 1399148 - Check we actually have an Editable before searching for a span.

https://reviewboard.mozilla.org/r/178860/#review184164
Attachment #8907182 - Flags: review?(topwu.tw) → review+
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/8a9ed6ede914
Check we actually have an Editable before searching for a span. r=jwu
https://hg.mozilla.org/mozilla-central/rev/8a9ed6ede914
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
You need to log in before you can comment on or make changes to this bug.