Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1972

ConcurrentModificationException while loading plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5.1
    • Fix Version/s: 4.6.0
    • Component/s: Plugins
    • Labels:
      None

      Description

      While testing Openfire 4.5.1 with a rather large set of Openfire plugins, we hit the situation that an ConcurrentModificationException occurred in the loading process of the plugins. The direct result is some corruption in the server state, which blocks the loading of other plugins and the server not responding. Restarting does not help either.

      The exception is thrown when in line org.jivesoftware.openfire.container.PluginManager:379 the pluginsLoaded map is looped in order to get a an entry.

      It is easy to imagine this should happen: the plugins are loaded simultaneously, using a unsynchronised map to add and retrieve data from it. The question is why nobody has reported this problem before.

        Attachments

          Activity

            People

            Assignee:
            guus Guus der Kinderen
            Reporter:
            guus Guus der Kinderen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: