What version of OpenRewrite are you using?
I am using
- OpenRewrite v1.2.3
- Maven/Gradle plugin v1.2.3
- rewrite-module v1.2.3
How are you running OpenRewrite?
same for full url:
Assuming it can not download the file, but checks for fs only.
https://github.com/pmd/build-tools/blob/main/src/main/resources/net/sourceforge/pmd/pmd-checkstyle-config.xml
[WARNING] Unable to parse checkstyle configuration. Checkstyle will not inform rewrite execution.
java.lang.RuntimeException: java.nio.file.NoSuchFileException: https:/github.com/pmd/build-tools/blob/main/src/main/resources/net/sourceforge/pmd/pmd-checkstyle-config.xml
at org.openrewrite.java.style.CheckstyleConfigLoader.loadCheckstyleConfig (CheckstyleConfigLoader.java:48)
at org.openrewrite.maven.ConfigurableRewriteMojo.loadStyles (ConfigurableRewriteMojo.java:244)
at org.openrewrite.maven.AbstractRewriteBaseRunMojo.loadSourceSet (Abst
I am using the Maven plugin, and my project is a single module project.
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>6.12.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.staticanalysis.CodeCleanup</recipe>
<!-- <recipe>org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods</recipe>-->
<!-- <recipe>org.openrewrite.staticanalysis.MissingOverrideAnnotation</recipe>-->
</activeRecipes>
<!-- <checkstyleConfigFile>/net/sourceforge/pmd/pmd-checkstyle-config.xml</checkstyleConfigFile>-->
</configuration>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-static-analysis</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
</plugin>
What is the smallest, simplest way to reproduce the problem?
[INFO] --- rewrite:6.12.1:run (default-cli) @ pmd-dist ---
[INFO] Using active recipe(s) [org.openrewrite.staticanalysis.CodeCleanup]
[INFO] Using active styles(s) []
[INFO] Validating active recipes...
[WARNING] Unable to parse checkstyle configuration. Checkstyle will not inform rewrite execution.
java.lang.RuntimeException: java.nio.file.NoSuchFileException: /net/sourceforge/pmd/pmd-checkstyle-config.xml
at org.openrewrite.java.style.CheckstyleConfigLoader.loadCheckstyleConfig (CheckstyleConfigLoader.java:48)
at org.openrewrite.maven.ConfigurableRewriteMojo.loadStyles (ConfigurableRewriteMojo.java:244)
at org.openrewrite.maven.AbstractRewriteBaseRunMojo.loadSourceSet (AbstractRewriteBaseRunMojo.java:232)
at org.openrewrite.maven.AbstractRewriteBaseRunMojo.listResults (AbstractRewriteBaseRunMojo.java:153)
at org.openrewrite.maven.AbstractRewriteRunMojo.execute (AbstractRewriteRunMojo.java:66)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.nio.file.NoSuchFileException: /net/sourceforge/pmd/pmd-checkstyle-config.xml
at sun.nio.fs.UnixException.translateToIOException (UnixException.java:92)
at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:106)
at sun.nio.fs.UnixException.rethrowAsIOException (UnixException.java:111)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel (UnixFileSystemProvider.java:261)
at java.nio.file.Files.newByteChannel (Files.java:379)
at java.nio.file.Files.newByteChannel (Files.java:431)
at java.nio.file.spi.FileSystemProvider.newInputStream (FileSystemProvider.java:420)
at java.nio.file.Files.newInputStream (Files.java:159)
at org.openrewrite.java.style.CheckstyleConfigLoader.loadCheckstyleConfig (CheckstyleConfigLoader.java:45)
at org.openrewrite.maven.ConfigurableRewriteMojo.loadStyles (ConfigurableRewriteMojo.java:244)
at org.openrewrite.maven.AbstractRewriteBaseRunMojo.loadSourceSet (AbstractRewriteBaseRunMojo.java:232)
at org.openrewrite.maven.AbstractRewriteBaseRunMojo.listResults (AbstractRewriteBaseRunMojo.java:153)
at org.openrewrite.maven.AbstractRewriteRunMojo.execute (AbstractRewriteRunMojo.java:66)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[INFO] Project [PMD] Resolving Poms...
[INFO] Project [PMD] Parsing source files
[WARNING] There were problems parsing some source files, run with --errors to see full stack traces
[WARNING] There were problems parsing docs/search.json
[WARNING] There were problems parsing docs/feed.xml
[WARNING] There were problems parsing docs/_data/xpath_funs.yml
[INFO] Project [PMD Core] Parsing source files
[INFO] Project [PMD Test Schema] Parsing source files
[INFO] Project [PMD Ant Integration] Parsing source files
[INFO] Project [PMD Test Framework] Parsing source files
[INFO] Project [PMD language module testing utilities] Parsing source files
[INFO] Project [PMD Apex] Parsing source files
[INFO] Project [PMD Coco] Parsing source files
[INFO] Project [PMD C++] Parsing source files
[INFO] Project [PMD C#] Parsing source files
[INFO] Project [PMD Dart] Parsing source files
[INFO] Project [PMD Fortran] Parsing source files
[INFO] Project [PMD Gherkin] Parsing source files
[INFO] Project [PMD Go] Parsing source files
[INFO] Project [PMD Groovy] Parsing source files
[INFO] Project [PMD HTML] Parsing source files
[INFO] Project [PMD Java] Parsing source files
[WARNING] There were problems parsing pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTStringLiteral.java
[WARNING] There were problems parsing pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/internal/LanguageLevelChecker.java
[WARNING] There were problems parsing pmd-java/src/test/resources/ant/java/EncodingTestClass.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/types/dumptests/UnnamedPatterns.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/symbols/recordclasses/SomeRecordsTestData.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/EmptyStmts2.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/EmptyStmts3.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/GitHubBug3642.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java21/RecordPatterns.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java8/type_annotations.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java16/PatternMatchingInstanceof.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java9/jdk9_invalid_identifier.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java23p/Jep477_ImplicitlyDeclaredClassesAndInstanceMainMethods2.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java23p/StringTemplatesAreNotSupportedAnymore.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java23p/Jep476_ModuleImportDeclarations.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java23p/Jep477_ImplicitlyDeclaredClassesAndInstanceMainMethods1.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk14_enum.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java24p/Jep495_SimpleSourceFilesAndInstanceMainMethods.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java24p/Jep494_ModuleImportDeclarations.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk17_numerical_literals.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java5/generic_ctors.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java22/Jep456_UnnamedPatternsAndVariables.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test7.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5_a.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/ParserCornerCases18.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/EmptyStmts1.java
[WARNING] There were problems parsing pmd-java/src/test/resources/net/sourceforge/pmd/ast/FullTypeAnnotations.java
[INFO] Project [PMD JavaScript] Parsing source files
[INFO] Project [PMD JSP] Parsing source files
[INFO] Project [PMD Julia] Parsing source files
[INFO] Project [PMD Kotlin] Parsing source files
[INFO] Project [PMD Lua] Parsing source files
[INFO] Project [PMD Matlab] Parsing source files
[INFO] Project [PMD Modelica] Parsing source files
[INFO] Project [PMD Objective-C] Parsing source files
[INFO] Project [PMD Perl] Parsing source files
[INFO] Project [PMD PHP] Parsing source files
[INFO] Project [PMD PL/SQL] Parsing source files
[INFO] Project [PMD Python] Parsing source files
[INFO] Project [PMD Ruby] Parsing source files
[INFO] Project [PMD Rust] Parsing source files
[INFO] Project [PMD Scala Common Source and Settings] Parsing source files
[INFO] Project [PMD Scala for Scala 2.13] Parsing source files
[INFO] Project [PMD Swift] Parsing source files
[INFO] Project [PMD TSql] Parsing source files
[INFO] Project [PMD Visualforce] Parsing source files
[INFO] Project [PMD Velocity Template Language (VTL)] Parsing source files
[INFO] Project [PMD XML and XSL] Parsing source files
[INFO] Project [PMD Languages Dependencies] Parsing source files
[INFO] Project [PMD Documentation Generator (internal)] Parsing source files
[INFO] Project [PMD Scala for Scala 2.12] Parsing source files
[INFO] Project [PMD CLI] Parsing source files
[WARNING] There were problems parsing pmd-cli/src/test/resources/net/sourceforge/pmd/cli/cpd/badandgood/BadFile.java
[INFO] Project [PMD Distribution Packages] Parsing source files
[INFO] Running recipe(s)...
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
line 1:0 token recognition error at: '<u'
line 1:8 token recognition error at: '>'
[ERROR] The recipe produced an error. Please report this to the recipe author.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for PMD 7.16.0-SNAPSHOT:
[INFO]
[INFO] PMD ................................................ SUCCESS [ 0.318 s]
[INFO] PMD Core ........................................... SUCCESS [ 0.458 s]
[INFO] PMD Test Schema .................................... SUCCESS [ 0.030 s]
[INFO] PMD Ant Integration ................................ SUCCESS [ 0.037 s]
[INFO] PMD Test Framework ................................. SUCCESS [ 0.031 s]
[INFO] PMD language module testing utilities .............. SUCCESS [ 3.693 s]
[INFO] PMD Apex ........................................... SUCCESS [ 2.666 s]
[INFO] PMD Coco ........................................... SUCCESS [ 0.310 s]
[INFO] PMD C++ ............................................ SUCCESS [ 0.137 s]
[INFO] PMD C# ............................................. SUCCESS [ 0.143 s]
[INFO] PMD Dart ........................................... SUCCESS [ 0.110 s]
[INFO] PMD Fortran ........................................ SUCCESS [ 0.081 s]
[INFO] PMD Gherkin ........................................ SUCCESS [ 0.107 s]
[INFO] PMD Go ............................................. SUCCESS [ 0.108 s]
[INFO] PMD Groovy ......................................... SUCCESS [ 0.082 s]
[INFO] PMD HTML ........................................... SUCCESS [ 0.217 s]
[INFO] PMD Java ........................................... SUCCESS [ 17.458 s]
[INFO] PMD JavaScript ..................................... SUCCESS [ 0.699 s]
[INFO] PMD JSP ............................................ SUCCESS [ 0.479 s]
[INFO] PMD Julia .......................................... SUCCESS [ 0.174 s]
[INFO] PMD Kotlin ......................................... SUCCESS [ 0.667 s]
[INFO] PMD Lua ............................................ SUCCESS [ 0.138 s]
[INFO] PMD Matlab ......................................... SUCCESS [ 0.150 s]
[INFO] PMD Modelica ....................................... SUCCESS [ 1.341 s]
[INFO] PMD Objective-C .................................... SUCCESS [ 0.167 s]
[INFO] PMD Perl ........................................... SUCCESS [ 0.109 s]
[INFO] PMD PHP ............................................ SUCCESS [ 0.042 s]
[INFO] PMD PL/SQL ......................................... SUCCESS [ 3.220 s]
[INFO] PMD Python ......................................... SUCCESS [ 0.147 s]
[INFO] PMD Ruby ........................................... SUCCESS [ 0.095 s]
[INFO] PMD Rust ........................................... SUCCESS [ 0.119 s]
[INFO] PMD Scala Common Source and Settings ............... SUCCESS [ 0.007 s]
[INFO] PMD Scala for Scala 2.13 ........................... SUCCESS [ 0.913 s]
[INFO] PMD Swift .......................................... SUCCESS [ 0.645 s]
[INFO] PMD TSql ........................................... SUCCESS [ 0.140 s]
[INFO] PMD Visualforce .................................... SUCCESS [ 0.961 s]
[INFO] PMD Velocity Template Language (VTL) ............... SUCCESS [ 0.334 s]
[INFO] PMD XML and XSL .................................... SUCCESS [ 0.416 s]
[INFO] PMD Languages Dependencies ......................... SUCCESS [ 0.010 s]
[INFO] PMD Documentation Generator (internal) ............. SUCCESS [ 0.183 s]
[INFO] PMD Scala for Scala 2.12 ........................... SUCCESS [ 1.276 s]
[INFO] PMD CLI ............................................ SUCCESS [ 0.207 s]
[INFO] PMD Distribution Packages .......................... FAILURE [01:04 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min
[INFO] Finished at: 2025-07-08T11:35:43+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:6.12.1:run (default-cli) on project pmd-dist: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:6.12.1:run failed: Error while visiting pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java21/Jep440_RecordPatterns.java: java.lang.NullPointerException: Cannot invoke "org.openrewrite.java.tree.J.getPrefix()" because the return value of "org.openrewrite.java.tree.J$InstanceOf.getClazz()" is null
[ERROR] org.openrewrite.staticanalysis.OperatorWrap$1.visitInstanceOf(OperatorWrap.java:183)
[ERROR] org.openrewrite.staticanalysis.OperatorWrap$1.visitInstanceOf(OperatorWrap.java:56)
[ERROR] org.openrewrite.java.tree.J$InstanceOf.acceptJava(J.java:3162)
[ERROR] org.openrewrite.java.tree.J.accept(J.java:63)
[ERROR] org.openrewrite.TreeVisitor.visit(TreeVisitor.java:245)
[ERROR] org.openrewrite.staticanalysis.OperatorWrap$1.visit(OperatorWrap.java:70)
[ERROR] org.openrewrite.staticanalysis.OperatorWrap$1.visit(OperatorWrap.java:56)
[ERROR] org.openrewrite.TreeVisitor.visitAndCast(TreeVisitor.java:311)
[ERROR] org.openrewrite.java.JavaVisitor.visitRightPadded(JavaVisitor.java:1380)
[ERROR] org.openrewrite.java.JavaVisitor.visitControlParentheses(JavaVisitor.java:528)
[ERROR] org.openrewrite.java.JavaIsoVisitor.visitControlParentheses(JavaIsoVisitor.java:119)
[ERROR] org.openrewrite.java.JavaIsoVisitor.visitControlParentheses(JavaIsoVisitor.java:30)
[ERROR] org.openrewrite.java.tree.J$ControlParentheses.acceptJava(J.java:5203)
[ERROR] org.openrewrite.java.tree.J.accept(J.java:63)
[ERROR] org.openrewrite.TreeVisitor.visit(TreeVisitor.java:245)
[ERROR] org.openrewrite.staticanalysis.OperatorWrap$1.visit(OperatorWrap.java:70)
[ERROR] ...
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :pmd-dist
➜ pmd git:(rewrite-Automatically-fix-Checkstyle-violations-)
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
same for full url:
Assuming it can not download the file, but checks for fs only.
https://github.com/pmd/build-tools/blob/main/src/main/resources/net/sourceforge/pmd/pmd-checkstyle-config.xml
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
Are you interested in contributing a fix to OpenRewrite?