Skip to content
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

Improve method matcher for AccessPathNullnessPropagation (#866) #867

Closed

Conversation

g-jiannan
Copy link

Fix #866. AccessPathNullnessPropagation#isCallToMethod is not robust and causes java.lang.RuntimeException: expected call to iterator(), instead saw null. As a quick fix, leverage errorprone matchers. No new test case is added because I'm unable to reproduce it easily and NullAwayKeySetIteratorTests already covers the code pattern.

@CLAassistant
Copy link

CLAassistant commented Nov 23, 2023

CLA assistant check
All committers have signed the CLA.

@g-jiannan
Copy link
Author

@msridhar Would you help to review the pull request? Thanks!

@msridhar
Copy link
Collaborator

@g-jiannan see my comment on the issue you opened #866 (comment)

@g-jiannan g-jiannan closed this Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.RuntimeException: expected call to iterator(), instead saw null
3 participants