- 
                Notifications
    You must be signed in to change notification settings 
- Fork 93
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I am trying to reproduce an issue. Thereby, I am running JUnit5BestPractices on the codebase without any other recipe.
I get
All sources parsed, running active recipes: org.jabref.config.rewrite.cleanup
The recipe produced an error. Please report this to the recipe author.
> Task :rewriteRun FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rewriteRun'.
> java.lang.RuntimeException: Error while visiting src\test\java\org\jabref\gui\externalfiles\FileFilterUtilsTest.java: java.lang.IllegalArgumentException: Could not parse as Java
    org.openrewrite.java.internal.template.JavaTemplateParser.lambda$compileTemplate$11(JavaTemplateParser.java:245)
    java.base/java.util.Optional.orElseThrow(Optional.java:403)
    org.openrewrite.java.internal.template.JavaTemplateParser.compileTemplate(JavaTemplateParser.java:245)
- PR: Try JUnit5BestPractices JabRef/jabref-koppor#668
- Test output: https://github.com/koppor/jabref/actions/runs/6937882550/job/18872721951?pr=668
Deep link to failing file: https://github.com/koppor/jabref/blob/675fcf7a56c0159a0c48c62e1723bff1d9b29c73/src/test/java/org/jabref/gui/externalfiles/FileFilterUtilsTest.java#L21
- gradle
- id 'org.openrewrite.rewrite' version '6.5.4'
- rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.5.0"))
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done