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?
Caused by: java.lang.ClassCastException: class org.openrewrite.java.tree.J$FieldAccess cannot be cast to class org.openrewrite.java.tree.J$Literal (org.openrewrite.java.tree.J$FieldAccess and org.openrewrite.java.tree.J$Literal are in unnamed module of loader 'app')
at org.openrewrite.java.AddOrUpdateAnnotationAttribute$1.lambda$visitAnnotation$2(AddOrUpdateAnnotationAttribute.java:189)
at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
at org.openrewrite.internal.ListUtils.map(ListUtils.java:265)
at org.openrewrite.java.AddOrUpdateAnnotationAttribute$1.visitAnnotation(AddOrUpdateAnnotationAttribute.java:123)
at org.openrewrite.java.AddOrUpdateAnnotationAttribute$1.visitAnnotation(AddOrUpdateAnnotationAttribute.java:85)
at org.openrewrite.java.tree.J$Annotation.acceptJava(J.java:233)
at org.openrewrite.java.tree.J.accept(J.java:59)
at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:250)
... 44 more
Are you interested in [contributing a fix to OpenRewrite]
Yes, I am trying to make a fix
The text was updated successfully, but these errors were encountered:
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
Unit Test, maven plugin
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
No errors.
What did you see instead?
Failed to parse sources or run recipe
What is the full stack trace of any errors you encountered?
Are you interested in [contributing a fix to OpenRewrite]
Yes, I am trying to make a fix
The text was updated successfully, but these errors were encountered: