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
Since Quarkus 3.3, a resteasy reactive class annotated with @JsonView breaks compilation. An ``IllegalArgumentException` is thrown.
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.3.1:build (default) on project code-with-quarkus: Failed to build
quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step io.quarkus.resteasy.reactive.jackson.deployment.processor.ResteasyReactiveJacksonProcessor#handleJsonAn
notations threw an exception: java.lang.IllegalArgumentException: Not a method
[ERROR] at org.jboss.jandex.ClassInfo.asMethod(ClassInfo.java:1159)
[ERROR] at io.quarkus.resteasy.reactive.jackson.deployment.processor.ResteasyReactiveJacksonProcessor.handleJsonAnnotations(Resteas
yReactiveJacksonProcessor.java:234)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:858)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:282)
[ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:833)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
mschorsch
changed the title
Resteasy Reactive: Class level @JsonView does not compile anymore
Resteasy Reactive: A class annotated with @JsonView breaks compilation
Aug 31, 2023
Describe the bug
Since Quarkus 3.3, a resteasy reactive class annotated with
@JsonView
breaks compilation. An ``IllegalArgumentException` is thrown.How to Reproduce?
reproducer.zip
Output of
java -version
Java 17
Quarkus version or git rev
3.3.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Maven
The text was updated successfully, but these errors were encountered: