Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-672

JOC may throw an "ConcurrentModificationException" during login

    XMLWordPrintable

    Details

      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

      See the description how to apply a patch in the knowledge base

        Attachments

          Activity

            People

            • Assignee:
              ur Uwe Risse
              Reporter:
              ur Uwe Risse
              Approver:
              Oliver Haufe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: