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
What is the full stack trace of any errors you encountered?
popocorn@popocorn:~/output/AdminService$ mod run . --recipe MergeYaml --recipe-option "key=$.server.servlet" --recipe-option "yaml='application-display-name:"application"'"
@@@@ @@
@ @@@ @@ @
@ @ @@ @
@@@@@@@@@@@@@@@@
@ @ @ @
@ @@ @@@@@@@@
@ @@ @ @
@@@@@@@@@@@@@@@@
Moderne CLI 3.26.2
> Selecting repositories
> Sirajuddin135/E-Commerce-Application@main
Selected 1 repository (0.01s)
> Running recipe org.openrewrite.yaml.MergeYaml
Mar 05, 2025 5:52:13 PM io.micrometer.core.instrument.binder.jvm.JvmGcMetrics isGarbageCollectorNotificationsAvailable
WARNING: GC notifications will not be available because no GarbageCollectorMXBean of the JVM provides any. GCs=[young generation scavenger, complete scavenger]
> Sirajuddin135/E-Commerce-Application@main
! Recipe run produced an error. Since this is the first error, its stack trace will be shown at the completion of the run. An error log was created at file:///home/popocorn/output/AdminService/.moderne/run/20250305175213-Jr0YV/run-error.log
No changes
No results found; 1 repository generated errors (2s)
24s saved by using previously built LSTs
FAILURE: mod failed with an exception
* Where:
org.openrewrite.polyglot.RemoteException: java.lang.ClassCastException: class org.openrewrite.tree.ParseError cannot be cast to class org.openrewrite.yaml.tree.Yaml$Documents (org.openrewrite.tree.ParseError and org.openrewrite.yaml.tree.Yaml$Documents are in unnamed module of loader 'app')
org.openrewrite.polyglot.RemoteProgressBarReceiver.maybeThrow(RemoteProgressBarReceiver.java:136)
org.openrewrite.polyglot.RemoteProgressBarReceiver.close(RemoteProgressBarReceiver.java:130)
io.moderne.cli.commands.Run.runRecipe(Run.java:355)
io.moderne.cli.commands.Run.runAndShowNextSteps(Run.java:129)
io.moderne.cli.commands.Run.run(Run.java:114)
io.moderne.cli.commands.StandardCommand.call(StandardCommand.java:136)
io.moderne.cli.commands.StandardCommand.call(StandardCommand.java:39)
picocli.CommandLine.executeUserObject(CommandLine.java:2045)
...
* What went wrong:
A repository failed to run. The exception for the failure on Sirajuddin135/E-Commerce-Application@main is shown above.
* Try:
> Report to [email protected]
MOD FAILED in (2s)
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I want to add snippets to
application.yml
. Below is the command I use in Moderne CLI.What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
The text was updated successfully, but these errors were encountered: