Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

NullPointerException: Parameter specified as non-null is null: method mozilla.components.feature.downloads.db.DownloadE... #19223

Closed
agi opened this issue Apr 24, 2021 · 6 comments
Assignees
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. needs:triage Issue needs triage wontfix

Comments

@agi
Copy link
Contributor

agi commented Apr 24, 2021

https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/11152131/?referrer=github_plugin

NullPointerException: Parameter specified as non-null is null: method mozilla.components.feature.downloads.db.DownloadEntity.<init>, parameter url
    at mozilla.components.feature.downloads.db.DownloadEntity.<init>
    at mozilla.components.feature.downloads.db.DownloadDao_Impl$10.call(DownloadDao_Impl.java:22)
    at androidx.room.CoroutinesRoom$Companion$execute$2.invokeSuspend(CoroutinesRoom.kt:2)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:15)
...
(3 additional frame(s) were not displayed)

Parameter specified as non-null is null: method mozilla.components.feature.downloads.db.DownloadEntity.<init>, parameter url

┆Issue is synchronized with this Jira Task

@github-actions github-actions bot added the needs:triage Issue needs triage label Apr 24, 2021
@agi
Copy link
Contributor Author

agi commented Apr 24, 2021

My nightly firefox crashes at startup with this signature, and it even seems to be crashing when trying to submit the crash report.

@pocmo pocmo added b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. labels Apr 26, 2021
@pocmo
Copy link
Contributor

pocmo commented Apr 26, 2021

I can only find one crash report (the one you posted) and it only has one affected user 🤔
https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/11152131/

@pocmo
Copy link
Contributor

pocmo commented Apr 26, 2021

CC @Amejia481

@Amejia481
Copy link
Contributor

Amejia481 commented Apr 26, 2021

It's pretty odd as indicates that we are trying to create a DownloadEntity with a null url, on start up we are bringing downloads from the db, I'm not sure how could we added a DownloadEntity with a null url in the database, it will be interesting to see the logs, @agi did you remember the last file or url that you downloaded before the crash?

@Amejia481 Amejia481 self-assigned this Apr 26, 2021
@agi
Copy link
Contributor Author

agi commented Apr 26, 2021

The crash reporter crashes for me when trying to report the crash (I tried tens of times), here's the logcat from my phone.

crash.txt

@stale
Copy link

stale bot commented Oct 23, 2021

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 23, 2021
@stale stale bot closed this as completed Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. needs:triage Issue needs triage wontfix
Projects
None yet
Development

No branches or pull requests

3 participants