-
Notifications
You must be signed in to change notification settings - Fork 473
Crash in [@ java.lang.IllegalArgumentException: at android.app.DownloadManager.validateArgumentIsNonEmpty(DownloadManager.java)] #9821
Comments
Based on the stacktraces I saw the exception being thrown because of this DownloadManager check for even an empty mime type. This seems to be a general issue, not tied to a specific device or Android version but I could not reproduce it. As a speculative fix (without actually having a broken download to verify) we can treat the cases of empty mime types the same as we treat the null ones -> replace them with a default |
And since the exception is thrown in AC without a STRs in Fenix I'll move the ticket to AC and fix it there. |
…type if otherwise empty Speculative fix (cannot reproduce the issue) for crashes where based on the stacktrace the download's mime type was empty.
…type if otherwise empty Speculative fix (cannot reproduce the issue) for crashes where based on the stacktrace the download's mime type was empty.
…type if otherwise empty Speculative fix (cannot reproduce the issue) for crashes where based on the stacktrace the download's mime type was empty.
…type if otherwise empty Speculative fix (cannot reproduce the issue) for crashes where based on the stacktrace the download's mime type was empty.
This were quite a lot of crashes, it should be easy to see a decline now that a patch for this was merged. |
Crash report: https://crash-stats.mozilla.org/report/index/160819c3-1b57-4902-917a-4bd130210301
Java stack trace:
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: