Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

CrashReporter.getCrashReporterServiceById: Collection contains no element matching the predicate #6938

@pocmo

Description

@pocmo

This crash can happen if you have a crash for a service in the database and the service no longer exists. This can currently only happen during local development if you add/remove services. But eventually this could happen in production too (if the services ever change) and then we would want to handle that better.

E  java.util.NoSuchElementException: Collection contains no element matching the predicate.
E      at mozilla.components.lib.crash.CrashReporter.getCrashReporterServiceById$lib_crash_release(CrashReporter.kt:297)
E      at mozilla.components.lib.crash.ui.CrashListAdapterKt.append(CrashListAdapter.kt:94)
E      at mozilla.components.lib.crash.ui.CrashListAdapterKt.access$append(CrashListAdapter.kt:1)

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

<crash>Component: lib-crashE1Estimation points: 1🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions