quarkus: [Regression in 2.16.3] `NullPointerException: Cannot invoke "org.jboss.resteasy.reactive.server.SimpleResourceInfo.getResourceClass()" because "this.resourceInfo" is null`
Describe the bug
There seems to be a regression in 2.16.3: RestAssured tests that were running fine with 2.16.2 now fail with error code 500.
I can see the following in the logs:
2023-02-17 10:10:11,260 WARN (f1cedf409aa3d4426067cc1700745ce6,86399571e387844a) [de.tsy.mms.nrw.reg.api.exc.ApiExceptionMapper] (executor-thread-0) internal exception: java.lang.NullPointerException: Cannot invoke "org.jboss.resteasy.reactive.server.SimpleResourceInfo.getResourceClass()" because "this.resourceInfo" is null
at io.quarkus.opentelemetry.runtime.tracing.intrumentation.resteasy.OpenTelemetryReactiveServerFilter.filter(OpenTelemetryReactiveServerFilter.java:29)
at org.jboss.resteasy.reactive.server.handlers.ResourceRequestFilterHandler.handle(ResourceRequestFilterHandler.java:48)
at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:104)
at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:145)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
So it looks related to OTEL…?
Expected behavior
No error
Actual behavior
REST endpoints fail
How to Reproduce?
No response
Output of uname -a or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.16.3.Final
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (18 by maintainers)
Commits related to this issue
- Use idiomatic RESTEasy Reactive filter declaration for OpenTelemetry Closes: #31245 — committed to quarkusio/quarkus by geoand a year ago
- Merge pull request #31331 from quarkusio/#31245 Use idiomatic RESTEasy Reactive filter declaration for OpenTelemetry — committed to quarkusio/quarkus by geoand a year ago
- Use idiomatic RESTEasy Reactive filter declaration for OpenTelemetry Closes: #31245 (cherry picked from commit 0825eed67b83a6f5cecad431acdda56a8eeeaa75) — committed to gsmet/quarkus by geoand a year ago
- Update all non-major dependencies (mulk/mulkcms2!21) This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [flow-bin](https://github.com/flowtype/flow-bin)... — committed to benkard/mulkcms2 by deleted user a year ago
@famod mind giving https://github.com/quarkusio/quarkus/pull/31331 a try please?
@brunobat I’m not sure what’s causing it, since when I added it I added tests as well which covers it. I’m not sure what is the edge case.