-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unpredictable reactive controller behavior. #21120
Comments
Can you please attach a sample project? |
Yes of course i'll create sample project. |
Thanks. In any case, #21121 will remove the NPE |
I created demo project: But in this project I doesn't have error. I try to add rest dependencies a reproduce orginal error. |
@geoand I reproduced this error. It occurred when I'am adding filters. |
I found the problem :) In filter i used blocking IO: I must re-implement my filters. |
I found on StackOverFlow that kind of filter is impossible to implement: @geoand This is still true in the newest version of quarkus? |
If you are trying to read the entire body of the request on the event loop thread, then yes, that is still not allowed |
Ok I'am closing this issue. |
Better handle RuntimeResource when an exception occurs
Why it is not allowed yet? and is there any chance it is allowed? |
Describe the bug
I decided to refactor one of my service written in quarkus from blocking io to reactive manner.
I have many mock controller which works perfectly before refactor but now some of them throws errors:
For example this controller doesn't work:
But this work's:
The one thing what I'am done in refactor is change the return type to new one with wrapper Uni.
I found on network similar error:
https://github.com/quarkusio/quarkus/runs/3204982867
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
Linux 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
16.0.2
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.4.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.2
Additional information
No response
The text was updated successfully, but these errors were encountered: