Closed
Bug 1363521
Opened 8 years ago
Closed 8 years ago
Crash in java.lang.UnsupportedOperationException: This isn''t a hierarchical URI. at android.net.Uri.getQueryParameterNames(Uri.java)
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect, P2)
Tracking
(fennec+, firefox54 unaffected, firefox55 disabled, firefox56 fixed)
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
fennec | + | --- |
firefox54 | --- | unaffected |
firefox55 | --- | disabled |
firefox56 | --- | fixed |
People
(Reporter: maliu, Assigned: Grisha)
References
Details
(Keywords: crash, regression, Whiteboard: [MobileAS])
Crash Data
Attachments
(2 files)
This bug was filed from the Socorro interface and is
report bp-61d3eb89-64f0-43dc-93fe-56f6e0170508.
=============================================================
java.lang.UnsupportedOperationException: This isn't a hierarchical URI.
at android.net.Uri.getQueryParameterNames(Uri.java:1572)
at org.mozilla.gecko.activitystream.ranking.HighlightCandidate.extractFeatures(HighlightCandidate.java:131)
at org.mozilla.gecko.activitystream.ranking.HighlightCandidate.fromCursor(HighlightCandidate.java:51)
at org.mozilla.gecko.activitystream.ranking.HighlightsRanking$1.call(HighlightsRanking.java:100)
at org.mozilla.gecko.activitystream.ranking.HighlightsRanking$1.call(HighlightsRanking.java:97)
at org.mozilla.gecko.activitystream.ranking.RankingUtils.mapCursor(RankingUtils.java:164)
at org.mozilla.gecko.activitystream.ranking.HighlightsRanking.extractFeatures(HighlightsRanking.java:97)
at org.mozilla.gecko.activitystream.ranking.HighlightsRanking.rank(HighlightsRanking.java:73)
at org.mozilla.gecko.activitystream.homepanel.HighlightsLoader.loadInBackground(HighlightsLoader.java:64)
at org.mozilla.gecko.activitystream.homepanel.HighlightsLoader.loadInBackground(HighlightsLoader.java:26)
The URI is "jar:file:///data/user/0/org.mozilla.fennec" that cause the crash in activity-stream, which is from switchboard add-on. Possible a regression because the URI was "about:experiments".
Reporter | ||
Updated•8 years ago
|
tracking-fennec: --- → ?
tracking-fennec: ? → +
Updated•8 years ago
|
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Flags: needinfo?(s.kaspari)
Priority: -- → P2
Updated•8 years ago
|
Blocks: as-android-blockers
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: s.kaspari → gkruglov
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8883750 [details]
Bug 1363521 - Pre: update comment describing current state of bookmark creation date
https://reviewboard.mozilla.org/r/154678/#review159838
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8883750 [details]
Bug 1363521 - Pre: update comment describing current state of bookmark creation date
https://reviewboard.mozilla.org/r/154678/#review159840
Attachment #8883750 -
Flags: review?(s.kaspari) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8883751 [details]
Bug 1363521 - Extract query length only for hierarchical uris during highlights ranking
https://reviewboard.mozilla.org/r/154680/#review159842
This definitely fixes the crash. But I wonder whether we should filter non http(s) URLs out from highlights completely.
Attachment #8883751 -
Flags: review?(s.kaspari) → review+
Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #6)
> This definitely fixes the crash. But I wonder whether we should filter non
> http(s) URLs out from highlights completely.
Probably we should, yeah. I'm happy to not have it crash for now. Filed Bug 1378890.
Pushed by gkruglov@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e7fd8b4bc028
Pre: update comment describing current state of bookmark creation date r=sebastian
https://hg.mozilla.org/integration/autoland/rev/db0c3c9bc5c4
Extract query length only for hierarchical uris during highlights ranking r=sebastian
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e7fd8b4bc028
https://hg.mozilla.org/mozilla-central/rev/db0c3c9bc5c4
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Updated•8 years ago
|
status-firefox54:
--- → unaffected
status-firefox55:
--- → disabled
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
Comment 10•3 years ago
|
||
Removing regressionwindow-wanted
keyword because this bug has been resolved.
Keywords: regressionwindow-wanted
Comment 11•3 years ago
|
||
Removing regressionwindow-wanted
keyword because this bug has been resolved.
You need to log in
before you can comment on or make changes to this bug.
Description
•