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)

All
Android
defect

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".
tracking-fennec: --- → ?
tracking-fennec: ? → +
Sebastian, want to take this one?
Flags: needinfo?(s.kaspari)
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Flags: needinfo?(s.kaspari)
Priority: -- → P2
Assignee: s.kaspari → gkruglov
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 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 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+
(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
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Product: Firefox for Android → Firefox for Android Graveyard

Removing regressionwindow-wanted keyword because this bug has been resolved.

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.

Attachment

General

Created:
Updated:
Size: