SONARJAVA-496 NPE should not be caught