Optional.ofNullable(null).orElse is reported as a potential NPE

Thank you, @sonaruser1231, I can reproduce the example with the sample you posted.

A ticket has been created to handle the issue.

1 Like