Closed Bug 1795146 Opened 3 years ago Closed 2 years ago

IllegalStateException - You need to call PushProcessor.install() on your Push instance from Application.onCreate()

Categories

(Firefox for Android :: Push, defect, P5)

All
Android
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox106 --- unaffected
firefox107 --- unaffected
firefox108 --- unaffected

People

(Reporter: csadilek, Unassigned)

Details

(Keywords: crash)

Crash Data

From github: https://github.com/mozilla-mobile/android-components/issues/6590.

https://sentry.prod.mozaws.net/operations/firefox-beta/issues/7791258

This looks like a message that we print. Did code get moved around to get things off the startup path? There are very few of these in 4.2.1 Fennec Beta - so maybe it is just very unfortunate timing?

java.lang.IllegalStateException: You need to call PushProcessor.install() on your Push instance from Application.onCreate().
    at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance(PushProcessor.kt:1)
    at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:1)
    at org.mozilla.fenix.components.FirebasePushService.onNewToken(FirebasePushService.kt:1)
    at com.google.firebase.messaging.FirebaseMessagingService.zzd
    at com.google.firebase.iid.zzc.run
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at com.google.android.gms.common.util.concurrent.zza.run
    at java.lang.Thread.run(Thread.java:818)

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

Keywords: crash
Severity: -- → S3
Priority: -- → P2

No crashes since Fenix 90.1.2

Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance(PushProcessor.kt:1)]
Priority: P2 → P5
Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance(PushProcessor.kt:1)] → [@ java.lang.IllegalStateException: at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance]

No crashes since 91, so I will resolve as WFM.

Status: NEW → RESOLVED
Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance] → [@ java.lang.IllegalStateException: at mozilla.components.concept.push.PushProcessor$Companion.getRequireInstance(PushProcessor.kt:1)]
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.