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

Switching Topology Providers causes Exception

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 18.0.0, 18.0.1, 18.0.2, 18.0.3, 18.0.4, 19.0.0
    • 18.0.4, 19.0.0
    • Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • None
    • BSM - Sprint 11, ATLAS - Sprint 2, Horizon - Feb 1st, Horizon - Feb 8th

    Description

      When using the Topology UI sometimes when switching the topology provider an "Error occured. See Karaf.log" Notfiication is shown.

      Investigating the log file, reveals this:

       Caused by: java.lang.IllegalStateException: Cannot remove from parent when the session is not locked. Furthermore, there is another locked session, indicating that the component might be about to be moved from one session to another.
           at com.vaadin.ui.AbstractSingleComponentContainer.removeFromParent(AbstractSingleComponentContainer.java:170)[93:com.vaadin.server:7.2.7]
           at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:207)[93:com.vaadin.server:7.2.7]
           at com.vaadin.ui.AbstractOrderedLayout.addComponent(AbstractOrderedLayout.java:90)[93:com.vaadin.server:7.2.7]
           at org.opennms.features.topology.app.internal.TopologyUI$InfoPanelItemProvider.wrap(TopologyUI.java:398)[104:org.opennms.features.topology.app:18.0.0.SNAPSHOT]
           at org.opennms.features.topology.app.internal.TopologyUI$InfoPanelItemProvider.wrap(TopologyUI.java:377)[104:org.opennms.features.topology.app:18.0.0.SNAPSHOT]
           at org.opennms.features.topology.app.internal.TopologyUI$InfoPanelItemProvider.lambda$getInfoPanelComponents$14(TopologyUI.java:410)[104:org.opennms.features.topology.app:18.0.0.SNAPSHOT]
           at org.opennms.features.topology.app.internal.TopologyUI$InfoPanelItemProvider$$Lambda$107/1176880036.apply(Unknown Source)[104:org.opennms.features.topology.app:18.0.0.SNAPSHOT]
           at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[:1.8.0_45]
      

      There seems to be an issue. This should be investigated.

      Attachments

        Activity

          People

            mvr Markus von Rüden
            mvr Markus von Rüden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: