Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-532

Refreshing parent of referral may give ConcurrentModificationException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None

      Description

      When expanding a container that contains a referral for the first time the follow referral dialog is shown. Selecting the same connection to handle the referral and then refreshing the container sometimes (usually within 10 attempts) shows a ConcurrentModificationException:

      Error while reading entry
      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
      at java.util.HashMap$KeyIterator.next(Unknown Source)
      at org.apache.directory.studio.ldapbrowser.core.events.EventRegistry.fireEntryUpdated(EventRegistry.java:348)
      at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.runNotification(InitializeAttributesRunnable.java:153)
      at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:119)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      java.util.ConcurrentModificationException

      After acknowledging the error no other problems are noticeable.

        Activity

        Hide
        Stefan Seelmann added a comment -

        This should be fixed with commit 775025. The listener map is cloned now before iterating through it.

        Show
        Stefan Seelmann added a comment - This should be fixed with commit 775025. The listener map is cloned now before iterating through it.
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory Studio version 1.5.0 has been released.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory Studio version 1.5.0 has been released.

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Martin Alderson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development