Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12306

ConcurrentModificationException when cloning events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 25.0.0
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - September 18th, Horizon 2019 - September 25th

      Description

      2019-09-23 12:44:52,984 WARN  [event-translator-Thread] o.o.n.e.EventIpcManagerDefaultImpl: run: an unexpected error occured during ListenerThread event-translator
      java.util.ConcurrentModificationException: null
              at java.util.ArrayList.writeObject(ArrayList.java:900) ~[?:?]
              at jdk.internal.reflect.GeneratedMethodAccessor1158.invoke(Unknown Source) ~[?:?]
              at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
              at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
              at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1130) ~[?:?]
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497) ~[?:?]
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433) ~[?:?]
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) ~[?:?]
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553) ~[?:?]
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510) ~[?:?]
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433) ~[?:?]
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) ~[?:?]
              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349) ~[?:?]
              at org.opennms.netmgt.config.EventTranslatorConfigFactory.cloneEvent(EventTranslatorConfigFactory.java:818) ~[opennms-config-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.config.EventTranslatorConfigFactory$TranslationMapping.cloneEvent(EventTranslatorConfigFactory.java:386) ~[opennms-config-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.config.EventTranslatorConfigFactory$TranslationMapping.translate(EventTranslatorConfigFactory.java:367) ~[opennms-config-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.config.EventTranslatorConfigFactory$TranslationSpec.translate(EventTranslatorConfigFactory.java:319) ~[opennms-config-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.config.EventTranslatorConfigFactory.translateEvent(EventTranslatorConfigFactory.java:287) ~[opennms-config-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.translator.EventTranslator.onEvent(EventTranslator.java:158) ~[opennms-services-25.0.0-SNAPSHOT.jar:?]
              at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:189) [org.opennms.features.events.daemon-25.0.0-SNAPSHOT.jar:?]
              at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) [?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
              at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:106) [opennms-util-25.0.0-SNAPSHOT.jar:?]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: