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

NPE when using the Enlinkd Topology

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Nov 9th

      Description

      The following exception was observed when using the Enlinkd topology on a system running 19-SNAPSHOT (exact version to be confirmed):

      2016-11-08 15:31:23,392 ERROR com.vaadin.server:7.2.7(110) [qtp423031317-638044] com.vaadin.server.DefaultErrorHandler: 
      java.lang.NullPointerException: null value in entry: org.opennms.features.topology.app.internal.operations.MetaTopologySelectorOperation.selectedLayer=null
      	at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)[guava-18.0.jar:]
      	at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:135)[guava-18.0.jar:]
      	at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:206)[guava-18.0.jar:]
      	at org.opennms.features.topology.app.internal.operations.MetaTopologySelectorOperation.createHistory(MetaTopologySelectorOperation.java:117)[121:org.opennms.features.topology.app:19.0.0.SNAPSHOT]
      	at Proxy4eb3c65e_999d_4aeb_9121_e52a011491c0.createHistory(Unknown Source)[:]
      	at org.opennms.features.topology.api.support.SavedHistory.getOperationSettings(SavedHistory.java:251)[120:org.opennms.features.topology.api:19.0.0.SNAPSHOT]
      	at org.opennms.features.topology.api.support.SavedHistory.<init>(SavedHistory.java:111)[120:org.opennms.features.topology.api:19.0.0.SNAPSHOT]
      	at org.opennms.features.topology.plugins.topo.BundleContextHistoryManager.saveOrUpdateHistory(BundleContextHistoryManager.java:91)[122:org.opennms.features.topology.plugins.topo.history:19.0.0.SNAPSHOT]
      	at Proxy9e054347_cd39_4cba_b374_71a7a86bcd2e.saveOrUpdateHistory(Unknown Source)[:]
      	at org.opennms.features.topology.app.internal.TopologyUI$TopologyUIRequestHandler.handleRequestParameter(TopologyUI.java:249)[121:org.opennms.features.topology.app:19.0.0.SNAPSHOT]
      	at org.opennms.features.topology.app.internal.TopologyUI.init(TopologyUI.java:577)[121:org.opennms.features.topology.app:19.0.0.SNAPSHOT]
      	at com.vaadin.ui.UI.doInit(UI.java:641)[110:com.vaadin.server:7.2.7]
      	at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:222)[110:com.vaadin.server:7.2.7]
      	at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:74)[110:com.vaadin.server:7.2.7]
      	at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)[110:com.vaadin.server:7.2.7]
      	at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1401)[110:com.vaadin.server:7.2.7]
      	at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:237)[110:com.vaadin.server:7.2.7]
      	at org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker$FactoryServlet.service(ApplicationFactoryServiceTracker.java:89)[117:org.opennms.features.vaadin-components.extender-service:19.0.0.SNAPSHOT]
      

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von RĂ¼den
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: