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

IllegalStateException in OnmsVaadinContainer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.1
    • Fix Version/s: 21.0.2, Meridian-2017.1.3
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - November 22nd, Horizon - November 30th, Horizon - December 6th

      Description

      Following the upgrade to 21.0.1, the topogloy map and geographical maps no longer load on demo.opennms.org. Some of the Vaadin dashboard components also fail.

      The relevant exception from the logs is:

      java.lang.IllegalStateException: The cache is supposed to carry 21 but only contains 20 items.
              at org.opennms.features.topology.api.browsers.OnmsVaadinContainer$Cache.reload(OnmsVaadinContainer.java:187) [156:org.opennms.features.topology.api:21.0.1]
              at org.opennms.features.topology.api.browsers.OnmsVaadinContainer.sort(OnmsVaadinContainer.java:377) [156:org.opennms.features.topology.api:21.0.1]
              at com.vaadin.ui.Table.sort(Table.java:4771) [64:com.vaadin.server:7.2.7]
              at com.vaadin.ui.Table.sort(Table.java:4802) [64:com.vaadin.server:7.2.7]
              at com.vaadin.ui.Table.setSortContainerPropertyId(Table.java:4860) [64:com.vaadin.server:7.2.7]
              at com.vaadin.ui.Table.setSortContainerPropertyId(Table.java:4843) [64:com.vaadin.server:7.2.7]
              at org.opennms.features.vaadin.dashboard.dashlets.AlarmDetailsDashlet$2.<init>(AlarmDetailsDashlet.java:226) [174:org.opennms.features.vaadin-dashlets.dashlet-alarms:21.0.1]
              at org.opennms.features.vaadin.dashboard.dashlets.AlarmDetailsDashlet.getDashboardComponent(AlarmDetailsDashlet.java:183) [174:org.opennms.features.vaadin-dashlets.dashlet-alarms:21.0.1]
              at org.opennms.features.vaadin.dashboard.ui.dashboard.DashboardBody.setDashletSpecs(DashboardBody.java:174) [173:org.opennms.features.vaadin-dashboard:21.0.1]
              at org.opennms.features.vaadin.dashboard.ui.dashboard.DashboardView.enter(DashboardView.java:62) [173:org.opennms.features.vaadin-dashboard:21.0.1]
              at com.vaadin.navigator.Navigator.navigateTo(Navigator.java:571) [64:com.vaadin.server:7.2.7]
              at com.vaadin.navigator.Navigator.navigateTo(Navigator.java:526) [64:com.vaadin.server:7.2.7]
              at org.opennms.features.vaadin.dashboard.ui.HeaderLayout$2.buttonClick(HeaderLayout.java:104) [173:org.opennms.features.vaadin-dashboard:21.0.1]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
      

        Attachments

        1. Screen Shot 2017-11-21 at 10.28.08.png
          552 kB
          Markus von Rüden
        2. Screen Shot 2017-11-21 at 10.31.53.png
          49 kB
          Markus von Rüden

          Activity

            People

            Assignee:
            mvr Markus von Rüden
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration