Thread error #1177
Unanswered
LR-Argentino
asked this question in
Q&A
Thread error
#1177
Replies: 1 comment
-
Please send to https://github.com/quarkusio/quarkus/discussions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to get the AbsenceType-Object using the "findById(long id).await().indefinitely()" method to pass it on my Employee object.
Unfortunately I get this error message:
java.lang.IllegalStateException: The current thread cannot be blocked: vert.x-eventloop-thread-2".
I guess this error message occured because is not possible to perform a Blockin-Action in a Non-Blocking Method.
**QEUSTION:** How i get the absenceType-Object and set it in the "chain"-Method of "getCurrentEmp()"?
I have already tried this:
But the "absenceType"-Value is always "null" when i get the List of Notifications.
Can somebody shows me the right way?
Thanks 🙏🏽
Beta Was this translation helpful? Give feedback.
All reactions