Describe the bug
I have tried RESTEasy reactive on a project and came across numerous issues. I have created a replicator project which simplifies down the various issues I have found thus far:
1) Sub resource path params are not bound correctly
2) A POST which accepts a List of non-trivial Objects fails deployment
3) Binding a BigDecimal as a path param causing booting to fail with a ClassNotFoundException
4) Returning a List encodes the result incorrectly
5) Binding a resource method with multiple Method annotations results in only the first one being bound
6) Calls to sub resources pass through a ContainerRequestFilter for each sub resource level
7) Calling requestContext.getUriInfo().getMatchedResources() in a ContainerResponseFilter results in an NPE java.lang.NullPointerException: Cannot invoke "org.jboss.resteasy.reactive.server.mapping.RuntimeResource.getClassPath()" because "this.target" is null
Expected behavior
All of these should work. The sample project passes all tests using standard RESTEasy
Describe the bug I have tried RESTEasy reactive on a project and came across numerous issues. I have created a replicator project which simplifies down the various issues I have found thus far: 1) Sub resource path params are not bound correctly 2) A POST which accepts a List of non-trivial Objects fails deployment 3) Binding a BigDecimal as a path param causing booting to fail with a ClassNotFoundException 4) Returning a List encodes the result incorrectly
5) Binding a resource method with multiple Method annotations results in only the first one being bound
6) Calls to sub resources pass through a ContainerRequestFilter for each sub resource level
7) Calling requestContext.getUriInfo().getMatchedResources() in a ContainerResponseFilter results in an NPE java.lang.NullPointerException: Cannot invoke "org.jboss.resteasy.reactive.server.mapping.RuntimeResource.getClassPath()" because "this.target" is null
Expected behavior All of these should work. The sample project passes all tests using standard RESTEasy
Actual behavior All 7 test cases fail
To Reproduce git clone https://github.com/bcluap/quarkus-examples.git cd quarkus-examples/resteasy-reactive mvn clean test
Configuration Nothing
Screenshots Run the reproducer to see failures. Change the pom to non-reactive mode and all tests pass
Environment (please complete the following information): This is not environment specific
Additional context NA
https://github.com/quarkusio/quarkus/issues/13852
$upstream:13852$