You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradle-plugin: id 'org.openrewrite.rewrite' version '6.27.1'
Dependency: rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:2.23.0")
Gradle: 8.5
How are you running OpenRewrite?
Via a simple Gradle project
What is the smallest, simplest way to reproduce the problem?
The following Gradle file triggers the problem for me
What is the full stack trace of any errors you encountered?
Caused by: java.lang.NoSuchMethodError: 'java.util.List org.openrewrite.internal.ListUtils.map(java.util.List, java.util.function.UnaryOperator)'
at org.openrewrite.gradle.isolated.DefaultProjectParser.listResults(DefaultProjectParser.java:1392)
at org.openrewrite.gradle.isolated.DefaultProjectParser.run(DefaultProjectParser.java:420)
at org.openrewrite.gradle.DelegatingProjectParser.lambda$run$2(DelegatingProjectParser.java:115)
at org.openrewrite.gradle.DelegatingProjectParser.unwrapInvocationException(DelegatingProjectParser.java:164)
at org.openrewrite.gradle.DelegatingProjectParser.run(DelegatingProjectParser.java:114)
at org.openrewrite.gradle.RewriteRunTask.run(RewriteRunTask.java:36)
It seems the change to ListUtils.map() at f4ca982 breaks the Gradle plugin.
When trying to apply JUnit4to5Migration it fails with an exception, see details below.
According to https://github.com/openrewrite/rewrite-gradle-plugin/blob/main/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java#L1392 the Gradle plugin is still trying to use the old version of "map()".
What version of OpenRewrite are you using?
Gradle-plugin: id 'org.openrewrite.rewrite' version '6.27.1'
Dependency: rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:2.23.0")
Gradle: 8.5
How are you running OpenRewrite?
Via a simple Gradle project
What is the smallest, simplest way to reproduce the problem?
The following Gradle file triggers the problem for me
What did you expect to see?
I expect Gradle task
rewriteRun
to be executed successfullyWhat did you see instead?
Error: NoSuchMethodError: 'java.util.List org.openrewrite.internal.ListUtils.map(java.util.List,
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
likely can't invest enough time here for now
The text was updated successfully, but these errors were encountered: