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

NPE on "manage and unmanage services and interfaces"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.0.1, 16.0.2
    • Fix Version/s: 16.0.4, Meridian-2015.1.1, 17.0.0
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      OpenNMS Version: 16.0.2
      Java Version: 1.8.0_45 Oracle Corporation
      Operating System: Linux
    • Sprint:
      Newts - Phase 6

      Description

      Here are the steps to reproduce the problem.

      1) Go to the node's page
      2) Click on "Admin" (from the sub-tasks)
      3) Click on "manage and unmanage services and interfaces"
      4) Click on "Unselect all" (to force unmanage all the interfaces)
      5) Click on "Apply"

      After doing that, you get an error on the WebUI:

      java.lang.NullPointerException
      at java.util.Arrays$ArrayList.(Arrays.java:2842)
      at java.util.Arrays.asList(Arrays.java:2828)
      at org.opennms.web.admin.nodeManagement.ManageNodeServlet.doPost(ManageNodeServlet.java:115)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1317)
      at org.opennms.container.web.felix.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:53)
      at org.opennms.container.web.felix.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:35)
      at org.opennms.container.web.felix.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:50)
      at org.opennms.container.web.felix.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:42)
      at org.opennms.container.web.bridge.internal.DispatcherFilter.doFilter(DispatcherFilter.java:72)
      at org.opennms.container.web.ProxyFilter.doFilter(ProxyFilter.java:56)

        Attachments

        1. ApplyChanges.png
          ApplyChanges.png
          95 kB
        2. ipinterface_table_dump
          4 kB
        3. ipinterface_table.png
          ipinterface_table.png
          32 kB
        4. SystemInfo.png
          SystemInfo.png
          133 kB

          Issue Links

            Activity

              People

              • Assignee:
                Murat Murat Yildiz
                Reporter:
                tpelc iRose
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: