all runs fine with my queries, but as far as I debug one time my query code, the following Exceptions occurs for ALL queries after that:
org.axonframework.queryhandling.NoHandlerForQueryException: No handler for query: com.***.FindMeQuery
“FindMeQuery” changes depending on the query.
Only a restart of my backend solves this behavior. So, untill now I thought this is only a development machine problem, But today I saw this message on the testserver. How can I solve this behavior?
Thx for your answer, Allard. To reproduce simply put a breakpoint in a QueryHandler, wait a minute within this breakpoint and all request after that will fail. I don’t know if this is the same reason on server side, but the error message and behavior is the same … Maybe the trigger is a slow QueryHandler?
there is a related fix in 4.3.2. Since 4.3.3 is also out, I recommend updating to that one straight away.
The issue solved in 4.3.2 is related to the QueryBus not reconnecting properly. This is generally triggered by a connection failure. Waiting on a breakpoint usually blocks the entire JVM, which causes the networks to miss heartbeats. This issue causes the client to poorly recover from the disconnections.
Please let me know if you see improvements in the 4.3.3 version.