-
Notifications
You must be signed in to change notification settings - Fork 299
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
Unhandled exceptions (CheckIdenticalNullabilityVisitor, NullabilityUtil) #1082
Comments
Thanks for the report! I'll try to take a look soon. |
This was referenced Dec 6, 2024
msridhar
added a commit
that referenced
this issue
Dec 12, 2024
Fixes the second crash from #1082. Our handling of `valueOf` calls in map key arguments was a bit hacky and syntactic. Fix to properly check for calls to `Integer.valueOf` or `Long.valueOf`.
msridhar
added a commit
that referenced
this issue
Dec 12, 2024
Fixes the second crash of #1082. Weird things can happen with raw types...see the test case.
The fixes are now landed and I confirmed that NullAway still doesn't crash on the Caffeine test code. We'll cut a new release soon with these fixes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working on enabling NullAway in my unit tests and observed two error cases.
CheckIdenticalNullabilityVisitor
NullabilityUtil
The text was updated successfully, but these errors were encountered: