snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Quarkus RESTEasy Reactive Jackons @Blocking Failure should never be restarted #243

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Describe the bug When using the @Blocking annotation on a REST Resource when using the quarkus-resteasy-reactive-jackson extension results in an IllegalStateException: FAILURE: should never be restarted.

Expected behavior A correct response without the IllegalStateException.

Actual behavior The following stacktrace is shown.

java.lang.IllegalStateException: FAILURE: should never be restarted
        at org.jboss.resteasy.reactive.server.handlers.MultiResponseHandler$1.handle(MultiResponseHandler.java:171)
        at org.jboss.resteasy.reactive.server.handlers.MultiResponseHandler$1.handle(MultiResponseHandler.java:166)
        at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:108)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
        at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
        at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

To Reproduce

  1. Clone and build the sample project quarkus-resteasy-reactive-jackson-blocking-issue.
  2. Run the application
  3. Run curl -v http://localhost:8080

Environment (please complete the following information):


https://github.com/quarkusio/quarkus/issues/14486


$upstream:14486$