Open Bug 1787549 Opened 3 years ago Updated 1 year ago

Crash in [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken]

Categories

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

Unspecified
Android
defect

Tracking

()

Tracking Status
firefox104 --- wontfix
firefox105 --- wontfix
firefox106 --- wontfix
firefox107 --- wontfix
firefox108 --- wontfix
firefox109 --- wontfix
firefox110 --- affected
firefox111 --- affected
firefox112 --- affected
firefox126 --- affected

People

(Reporter: cpeterson, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/8118eb20-e52c-4265-812c-7ec500220823

Java stack trace:

java.lang.IllegalStateException
	at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5)
	at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(com.google.firebase:firebase-messaging@@20.3.0:7)
	at com.google.firebase.messaging.EnhancedIntentService$$Lambda$0.run(com.google.firebase:firebase-messaging@@20.3.0:1)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:818)
Component: General → Stability
Product: GeckoView → Fenix
OS: Unspecified → Android

Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit auto_nag documentation.

Severity: S2 → S3
Component: Stability → General
Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5)] → [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5)] [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.…

User reports that they are crashing when receiving push notifications from a website like Twitter. https://www.reddit.com/r/firefox/comments/10sxu3j/fenix_nighly_crashing_upon_receiving_push/

Duplicate of this bug: 1814967

Reconsidering the priority on this because the idea of a website being able to trigger a crash remotely is potentially concerning. (and the bug recently marked as a dupe has an additional repro example). Marking as a P2 at least to encourage investigation; but if a fix doesn't seem obvious or practical, open to dropping it back to a P3.

Priority: P5 → P3
Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5)] [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.… → [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken] [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken] [@ java.lang.IllegalS…
Summary: Crash in [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5)] → Crash in [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken]
Crash Signature: [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken] [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken] [@ java.lang.IllegalS… → [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:5) ] [@ java.lang.IllegalStateException: at mozilla.components.lib.push.firebase.AbstractFirebasePushService…

https://crash-stats.mozilla.org/report/index/b89d4e0e-f54d-4a04-ac68-a48160240516

java.lang.IllegalStateException: You need to call PushProcessor.install() on your Push instance from Application.onCreate().
	at mozilla.components.lib.push.firebase.AbstractFirebasePushService.onNewToken(AbstractFirebasePushService.kt:30)
	at com.google.firebase.messaging.FirebaseMessagingService.handleIntent(FirebaseMessagingService.java:41)
	at com.google.firebase.messaging.EnhancedIntentService$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:33)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:7)
	at java.lang.Thread.run(Thread.java:761)
Severity: S3 → S2
Component: General → Push
You need to log in before you can comment on or make changes to this bug.