-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding null checks and logging to filter methods in AccountAdapter #1929
Conversation
@melissaahn is this taking our pr (#1927) and using it as an issue report? |
No, I am referring to a separate issue reported internally. I wasn't aware of your team's PR initially, so I will link your PR in the description of this one to show that your team has also noted this issue. |
msal/src/main/java/com/microsoft/identity/client/AccountAdapter.java
Outdated
Show resolved
Hide resolved
msal/src/main/java/com/microsoft/identity/client/AccountAdapter.java
Outdated
Show resolved
Hide resolved
msal/src/main/java/com/microsoft/identity/client/AccountAdapter.java
Outdated
Show resolved
Hide resolved
msal/src/main/java/com/microsoft/identity/client/AccountAdapter.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left comments
Summary
There was an incident opened up that reported some crashes for devices in SDM due to a NPE thrown within the AccountAdapter class.
This PR adds handling and logging for any NPE errors thrown in the filter methods. Note that this is not a root cause fix for the incident, but will provide a mitigation.
Update: We also received a PR from a customer who noted they are also seeing crash reports due to the same NPE: #1927
Related PR