-
Notifications
You must be signed in to change notification settings - Fork 493
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
Infinite stream of hotswapping events #589
Comments
With trace logging enabled for HA, I see
|
Could you check please from which method |
It originates here Lines 257 to 260 in 24007fd
|
But the |
@OnClassLoadEvent(classNameRegexp = ".*", events = {LoadEvent.DEFINE, LoadEvent.REDEFINE})
|
The problem is that
then |
It can, because |
It looks like a bug. I suggest making all attributes in the ReflectionCommand class final and initializing them in the constructor. |
A new fixed version is available at: https://github.com/HotswapProjects/HotswapAgent/releases/tag/2.0.1-SNAPSHOT Could you please check if it resolves your issue? |
Resolves the infinite stream of hotswap events: HotswapProjects/HotswapAgent#589
Thanks! I think it resolves the issue but as it is a timing issue, I cannot say for sure |
Resolves the infinite stream of hotswap events: HotswapProjects/HotswapAgent#589
Haven't seen it again so far |
Problem is fixed in version 2.0.1 , is is released on maven https://mvnrepository.com/artifact/org.hotswapagent |
When using the Vaadin plugin in 2.0.0, I every now and then see an infinite stream of hotswapping events for the same class being sent to
Hotswapper.onHotswap
. Today it looks likeand it continues forever. Would this be a problem in the Vaadin plugin, HotswapAgent or JBR?
The stack trace in IntelliJ does not really tell that much
The text was updated successfully, but these errors were encountered: