-
Notifications
You must be signed in to change notification settings - Fork 39
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
NPE in AVOID_NULL_CHECKS #1204
Comments
We have issue template for a reason. Also: https://stackoverflow.com/help/minimal-reproducible-example. I can't reproduce NPE on https://ktlint-demo.herokuapp.com, also how can there be NPE in AVOID_NULL_CHECKS if there are literally no comparisons with null in the snippet you provided? |
Maybe Ktlint or something else breaks the code before that. I didn't manage to reproduce it in Diktat-Demo either, but it reproduce fine in Save-cloud.
|
With which config options? It's not reproducible from master: https://github.com/analysis-dev/save-cloud/runs/5049639800?check_suite_focus=true |
Here with such diktat-analysis.
If in config disable option AVOID_NULL_CHECKS, then the diktat will fail on SAY_NO_TO_VAR in DockerService.kt |
@Arrgentum what's with this issue: please mark here new issues if you have opened new |
Bug in DockerService.kt in Save-cloud (Fix mode).
The text was updated successfully, but these errors were encountered: