You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CloudMessagingReceiver.zza PendingResult.finish() on a null object reference #5553
We have a significant number of crash reports in crashlytics with this obfuscated stack trace:
Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.content.BroadcastReceiver$PendingResult.finish()' on a null object reference
at com.google.android.gms.cloudmessaging.CloudMessagingReceiver.zza(com.google.android.gms:play-services-cloud-messaging@@17.0.0:6)
at com.google.android.gms.cloudmessaging.zze.run(com.google.android.gms:play-services-cloud-messaging@@17.0.0:10)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@18.1.0:2)
at java.lang.Thread.run(Thread.java:1012)
This is currently by far our largest open crash cluster
I'm happy to provide any additional data that might help here.
Steps to reproduce:
We don't have a local repro for this issue, but it's certainly affecting people in the wild.
Relevant Code:
The error stack does not point to our relevant code
Hi @jiduqingqian, it looks like the version you're using for com.google.firebase:firebase-messaging:23.0.0 is relatively old (October 29, 2021). Could you try using the latest version 23.3.1 and see if this fixes the issue? We usually advise this to avoid issues that may have been fixed in the past.
If this does not help, could you provide a full stacktrace of this issue? Also could you share any code snippets that are related to Firebase Cloud Messaging? This will help us investigate this further.
Hey @jiduqingqian. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@jiduqingqian if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Activity
google-oss-bot commentedon Nov 14, 2023
I found a few problems with this issue:
LeDaVinci commentedon Nov 21, 2023
any update?
argzdev commentedon Nov 21, 2023
Hi @jiduqingqian, it looks like the version you're using for
com.google.firebase:firebase-messaging:23.0.0is relatively old (October 29, 2021). Could you try using the latest version23.3.1and see if this fixes the issue? We usually advise this to avoid issues that may have been fixed in the past.If this does not help, could you provide a full stacktrace of this issue? Also could you share any code snippets that are related to Firebase Cloud Messaging? This will help us investigate this further.
Thanks!
google-oss-bot commentedon Nov 28, 2023
Hey @jiduqingqian. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
google-oss-bot commentedon Dec 5, 2023
Since there haven't been any recent updates here, I am going to close this issue.
@jiduqingqian if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.