Closed
Bug 1296748
Opened 9 years ago
Closed 9 years ago
Crash in java.lang.IllegalArgumentException: TextSelection:ActionbarInit was not registered at org.mozilla.gecko.EventDispatcher.unregisterListener(EventDispatcher.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: jchen, Assigned: walkingice, Mentored)
Details
(Keywords: crash, good-first-bug)
Crash Data
Attachments
(1 file)
This bug was filed from the Socorro interface and is
report bp-fc718753-1ca8-40dd-af83-4e4e92160819.
=============================================================
Low volume crash (7 total over last 7 days) that first appeared in the 8-14 Nightly. Looking at [1], we don't register listeners when `anchorHandle == null`, so we shouldn't unregister listeners either in that case.
[1] https://hg.mozilla.org/mozilla-central/file/19222e86fb30/mobile/android/base/java/org/mozilla/gecko/ActionBarTextSelection.java#l67
Assignee | ||
Comment 2•9 years ago
|
||
Hi I am also interesting in this issue.
Just curious, to check existence of anchorHandle could around this issue.
However, should it just throw exception in create()? Because other parts of code assumes anchorHandler exists, to throw exception as early as possible might be better?
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Julian Chu from comment #2)
> Hi I am also interesting in this issue.
>
> Just curious, to check existence of anchorHandle could around this issue.
>
> However, should it just throw exception in create()? Because other parts of
> code assumes anchorHandler exists, to throw exception as early as possible
> might be better?
Thanks for the interest Julian! The other parts of the code will not be run if anchorHandler is null, so the only thing you have to change is inside destroy().
Reporter | ||
Comment 4•9 years ago
|
||
(In reply to kevin from comment #1)
> Hi Jimmy I would like to try working on this as my first bug.
Hi Kevin, looks like you're working on bug 1283704, so I'll assign this bug to Julian instead. Thanks for your interest!
Assignee: nobody → walkingice0204
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•9 years ago
|
||
Hi Jim, thanks for your reply. I had created a patch as well as review request. Please correct me if I did anything wrong. Thanks.
https://reviewboard.mozilla.org/r/74988/
Reporter | ||
Comment 7•9 years ago
|
||
mozreview-review |
Comment on attachment 8786001 [details]
Bug 1296748 - Do not unregister if target does not exist;
https://reviewboard.mozilla.org/r/74990/#review72866
Looks good. Thanks! Do you know what the next step is to get your patch checked in?
Attachment #8786001 -
Flags: review?(nchen) → review+
Assignee | ||
Comment 8•9 years ago
|
||
mozreview-review-reply |
Comment on attachment 8786001 [details]
Bug 1296748 - Do not unregister if target does not exist;
https://reviewboard.mozilla.org/r/74990/#review72866
Actually I don't know. Could you please tell me what to do, or point me out which documentation I should read. Thanks a lot!
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/11943e518a67
Do not unregister if target does not exist; r=jchen
Keywords: checkin-needed
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Reporter | ||
Comment 11•9 years ago
|
||
Sorry for not responding sooner, Julian! Looks like you found what to do though. Thanks for fixing the bug! :)
Assignee | ||
Comment 12•9 years ago
|
||
No problem. It's my pleasure to make a little contribution. Thanks for your kindly suggestion.
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•