Commons-lang StringUtils isNotBlank method still raise NPE

I looked through my logs but I didnt see any “Bytecode of dependencies was not provided” warning.

We are using the SonarScanner and not the maven sonar plugin. And for us the issue was that the “sonar.java.libraries” variable was not properly set. I added the target “dependency:copy-dependencies” as part of the maven execution. This copied all the dependencies to the right location, then I set the property “-Dsonar.java.libraries=target/dependency” in our case.