Log gets blasted by Concurrent Modification Exception

bug description (occurred issue):

My instance of SCM-Managers log gets regularly blasted with Concurrent Modification Exception
in each event there are ~1500 log events.
I have no clue where they are coming from and what triggers it.
It is only hosting SVN repositories.

expected result / system behavior:

No strange log events.

observed result / system behavior:

SCM-Manager version and installed package:

SCM-Manager 2.45.2
scm-authormapping-plugin
scm-code-editor-plugin
scm-directfilelink-plugin
scm-git-plugin
scm-groupmanager-plugin
scm-hg-plugin
scm-issuetracker-plugin
scm-jira-plugin
scm-ldap-plugin
scm-legacy-plugin
scm-mail-plugin
scm-pathwp-plugin
scm-readme-plugin
scm-review-plugin
scm-svn-plugin

ConcurrentModificationException.zip (2.3 KB)

(Please also add Screenshots of the issue + if possible a trace created by the SCM-Manager support plugin)*

2023-09-21T10:59:18.302317481Z stderr F Exception in thread "ScmEventBus-1-493888" java.util.ConcurrentModificationException
2023-09-21T10:59:18.302334965Z stderr F         at java.base/java.util.HashMap$HashIterator.nextNode(Unknown Source)
2023-09-21T10:59:18.302340467Z stderr F         at java.base/java.util.HashMap$KeyIterator.next(Unknown Source)
2023-09-21T10:59:18.302344686Z stderr F         at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1203)
2023-09-21T10:59:18.302349383Z stderr F         at com.github.legman.EventBus.removeEventHandler(EventBus.java:272)
2023-09-21T10:59:18.302353368Z stderr F         at com.github.legman.EventHandler.handleEvent(EventHandler.java:105)
2023-09-21T10:59:18.302357211Z stderr F         at com.github.legman.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:52)
2023-09-21T10:59:18.302360734Z stderr F         at com.github.legman.EventBus.dispatchSynchronous(EventBus.java:452)
2023-09-21T10:59:18.302364337Z stderr F         at com.github.legman.EventBus.lambda$dispatch$1(EventBus.java:444)
2023-09-21T10:59:18.302376738Z stderr F         at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
2023-09-21T10:59:18.302380559Z stderr F         at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
2023-09-21T10:59:18.302391891Z stderr F         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2023-09-21T10:59:18.302395697Z stderr F         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2023-09-21T10:59:18.302398872Z stderr F         at java.base/java.lang.Thread.run(Unknown Source)
2023-09-21T10:59:18.302641308Z stderr F Exception in thread "ScmEventBus-1-493892" java.util.ConcurrentModificationException
2023-09-21T10:59:18.302651195Z stderr F         at java.base/java.util.HashMap$HashIterator.nextNode(Unknown Source)
2023-09-21T10:59:18.302655622Z stderr F         at java.base/java.util.HashMap$KeyIterator.next(Unknown Source)
2023-09-21T10:59:18.30265907Z stderr F  at com.google.common.collect.AbstractMapBasedMultimap$Itr.next(AbstractMapBasedMultimap.java:1203)
2023-09-21T10:59:18.302663363Z stderr F         at com.github.legman.EventBus.removeEventHandler(EventBus.java:272)
2023-09-21T10:59:18.302666694Z stderr F         at com.github.legman.EventHandler.handleEvent(EventHandler.java:105)
2023-09-21T10:59:18.302669947Z stderr F         at com.github.legman.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:52)
2023-09-21T10:59:18.302673274Z stderr F         at com.github.legman.EventBus.dispatchSynchronous(EventBus.java:452)
2023-09-21T10:59:18.302676167Z stderr F         at com.github.legman.EventBus.lambda$dispatch$1(EventBus.java:444)
2023-09-21T10:59:18.302679355Z stderr F         at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
2023-09-21T10:59:18.302682445Z stderr F         at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
2023-09-21T10:59:18.302685978Z stderr F         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2023-09-21T10:59:18.302689589Z stderr F         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2023-09-21T10:59:18.302692677Z stderr F         at java.base/java.lang.Thread.run(Unknown Source)

Hi @dorbeus , sorry for the inconvenience. These exceptions will be gone with 2.47 which is about to come. For the time being, you can safely ignore them, though we have to admit that this is tedious.

That’s great to hear and much appreciated!