Details
-
Fix
-
Status: Approved (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12.5
-
None
Description
Current Situation
It may happen that JOC throws an ConcurrentModificationException during a login. This happens while removing timedout users from the internal user list.
java.util.ConcurrentModificationException java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1442) at java.util.HashMap$EntryIterator.next(HashMap.java:1476) at java.util.HashMap$EntryIterator.next(HashMap.java:1474) at com.sos.auth.rest.SOSShiroCurrentUsersList.removeTimedOutUser(SOSShiroCurrentUsersList.java:35) at com.sos.auth.rest.SOSServicePermissionShiro.login(SOSServicePermissionShiro.java:928) at com.sos.auth.rest.SOSServicePermissionShiro.loginPost(SOSServicePermissionShiro.java:231)
Desired Behavior
There should no ConcurrentModificationException during a login to log.
Workaround
If this happens just repeat the login.
There is also a patch provided
- Patch for: JOC Cockpit 1.12.7
- Patch for: JOC Cockpit 1.12.8
See the description how to apply a patch in the knowledge base