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

Switching Topology Providers causes Exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 18.0.0, 18.0.1, 18.0.2, 18.0.3, 18.0.4, 19.0.0
    • Fix Version/s: 18.0.4, 19.0.0
    • Component/s: Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: