-
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
Hot reload : Failed to start quarkus, Already a default codec registered for class class java.util.UUID #10928
Comments
Thanks for reporting, Two things:
|
Yes this was working with 1.6.0 and before. I guess it's linked to my Panache Entities which use UUID. all my entities are extending the following:
I will try to produce a reproducer |
In fact it's because of an event consummer. the code producing the bug is:
|
reproducer is here: |
just try to add some dummy code and call the rest endpoint again, the hot reload will fail. |
Thanks a lot @rmanibus |
@stuartwdouglas @cescoffier this seems to happen because Do you mind taking a look? |
That's a side effect of the "fix" of Vert.x reload. We are keeping the same instance around as without we ended up with multiple vert.x instances and context issues. |
So should we then be clearing out the codecs on reload? |
BTW, which commit brough that in? |
This is now needed because of Vert.x is no longer reloaded Fixes: quarkusio#10928
#10935 should take care of this |
Experiencing the same issue. In my case the message is |
Unregister Vert.x codecs in dev-mode
Could I ask when this fix will be applied? The issue is still present in 2.2.2. |
@devnet-io can you open a new issue with a reproducer? This is applied since 1.7.0 |
Describe the bug
(Describe the problem clearly and concisely.)
Whenever the hot reload is triggered, it fails to restart the app after upgrade to Quarkus 1.6.1
Expected behavior
The application is reloaded when the code is updated
Actual behavior
The text was updated successfully, but these errors were encountered: