4 posts were merged into an existing topic: False Positive for Rule java:S2259: “A NullPointerException could be thrown; map() can return null.”
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
False Positive for Rule java:S2259: “A NullPointerException could be thrown; map() can return null.” | 9 | 243 | February 24, 2025 | |
A "NullPointerException" could be thrown; "ofNullable()" can return null | 4 | 216 | March 17, 2025 | |
java:S2259 A "NullPointerException" could be thrown; False Positive | 2 | 412 | May 14, 2024 | |
False Positive on `optional.orElse(null)` | 17 | 3436 | March 25, 2025 | |
False positives for java:S2259 (NullPointerException) when nullness annotations are used | 3 | 60 | July 18, 2025 |