Open Dev-Czle opened 2 months ago
I found a few problems with this issue:
Hi @Dev-Czle, thank you for reaching out. I tried reproducing the issue, however, I wasn't able to encounter the error.
It's possible that the error you are seeing could be caused by a race condition or a behavioral change in Android 14.
A race condition occurs when two or more threads try to access the same resource at the same time. In this case, the FirebaseSessions component may be trying to access the application context while the application is in the background. If the application context is not available at that time, it could cause a NullPointerException.
Android 14 introduced behavioral changes regarding safer components and implicit intents that might contribute to this NullPointerException
Let me consult this with our engineers and get back to you.
@lehcar09 i found it started Firebase-Messaging-topic IO Thread
i will help you what you need
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Hello,
We are currently using Firebase BoM version 33.1.1 and utilizing Authentication, Firestore, FCM, Storage, Crashlytics, Config, FPM, Analytics, and Dynamic Links.
Since the latest version, the following error has suddenly been reported to Crashlytics. Additionally, the error only occurs when the app is in the background.
I have searched for a solution, but the error name itself is too common, making it difficult to find relevant information. However, since we can see that the error occurs in the FirebaseSessions part, we are reaching out with this question. Below is the full error log.
Here's the logs