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
A NullPointerException occurs in the Bugsnag library when accessing the Intent extras inside the ActivityBreadcrumbCollector.setActivityIntentMetadata method. The issue arises when the Intent passed to the Activity does not contain extras, leading to a crash while trying to retrieve them.
Steps to reproduce
Unable to reproduce as this issue is only occurring in the production build. The crash seems to happen in certain user environments, but we haven't been able to replicate it during testing.
Environment
Android version: 6.0.0 to 8.0.0 as per report
Bugsnag version: 6.7.0
Emulator or physical device: Physical device
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.os.Parcel.dataSize()' on a null object reference
at android.os.BaseBundle.<init>(BaseBundle.java:126)
at android.os.Bundle.<init>(Bundle.java:102)
at android.content.Intent.getExtras(Intent.java:5694)
at com.bugsnag.android.ActivityBreadcrumbCollector.setActivityIntentMetadata(ActivityBreadcrumbCollector:82)
at com.bugsnag.android.ActivityBreadcrumbCollector.onActivityCreated(ActivityBreadcrumbCollector:22)
The text was updated successfully, but these errors were encountered:
Thank you for reaching out and raising this issue. We are looking to implement a fix ASAP and will be sure to update this thread once the release is Live.
Describe the bug
A
NullPointerException
occurs in the Bugsnag library when accessing the Intent extras inside theActivityBreadcrumbCollector.setActivityIntentMetadata
method. The issue arises when the Intent passed to the Activity does not contain extras, leading to a crash while trying to retrieve them.Steps to reproduce
Unable to reproduce as this issue is only occurring in the production build. The crash seems to happen in certain user environments, but we haven't been able to replicate it during testing.
Environment
The text was updated successfully, but these errors were encountered: