Sonarcloud and Sonarlint don’t see NullPointerException java:S2259
I’m trying to use sonarcloud and sonarlint to catch more NPE exceptions.
To test this i created a simple service and added some clear problematic code but both sonarcloud and sonarlint don’t see the problem with rule java:S2259 and i can’t understand why!