while running PMD through Gradle, the following error occurs
:bar:pmdMain Foo.java - Error while processing Foo.java
works fine in 5.2.2 and 5.2.3, so must have been introduced in 5.3.0
Thanks for the bug report. It will be fixed with 5.3.1 and 5.4.0.
Meanwhile, you can apply the following workaround:
delete((String path) -> deleteDirectory(path));
This will add the type "String" to the local variable path, so that PMD doesn't run into the NullPointerException.
Log in to post a comment.
Thanks for the bug report. It will be fixed with 5.3.1 and 5.4.0.
Meanwhile, you can apply the following workaround:
This will add the type "String" to the local variable path, so that PMD doesn't run into the NullPointerException.