Do not catch NullPointerException
NullPointerException indicates a programming error.
Search documentation pages and rules
Search documentation pages and rules
NullPointerException indicates a programming error.
java.correctness.catch-null-pointerCatching NPE masks bugs that should be fixed at the source.
Add null checks or Optional handling at the source of the failure.
The generated metadata points to critiq-rules/libs/rules/catalog/rules/java/java.correctness.catch-null-pointer.rule.yaml.