Skip to content
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

Modifying jsp on tomcat8 threw ConcurrentModificationException and terminated "HotSwap Dispatcher" thread #155

Closed
niravpat opened this issue Nov 5, 2016 · 2 comments

Comments

@niravpat
Copy link
Contributor

niravpat commented Nov 5, 2016

HOTSWAP AGENT: 23:46:02.397 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.hotswapper.HotswapperPlugin' initialized in ClassLoader 'org.apache.jasper.servlet.JasperLoader@5f9ff83d'.
Exception in thread "HotSwap Dispatcher" java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at org.hotswap.agent.watch.nio.EventDispatcher.callListeners(EventDispatcher.java:172)
at org.hotswap.agent.watch.nio.EventDispatcher.run(EventDispatcher.java:125)
at java.lang.Thread.run(Thread.java:745)

niravpat added a commit to niravpat/HotswapAgent that referenced this issue Nov 5, 2016
skybber added a commit that referenced this issue Nov 5, 2016
fixing concurrentModificationException #155
@niravpat niravpat closed this as completed Nov 5, 2016
@niravpat
Copy link
Contributor Author

niravpat commented Nov 5, 2016

fixed #156

@niravpat niravpat changed the title Modifying jsp on tomcat8 threw ConcurrenModificationException and terminated "HotSwap Dispatcher" thread Modifying jsp on tomcat8 threw ConcurrentModificationException and terminated "HotSwap Dispatcher" thread Nov 6, 2016
@NicklasWallgren
Copy link
Contributor

It got the same type of error in 1.4.1.

Exception in thread "HotSwap Dispatcher" java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1013)
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:967)
	at org.hotswap.agent.watch.nio.EventDispatcher.run(EventDispatcher.java:124)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants