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

NPE on "manage and unmanage services and interfaces"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.1
    • Fix Version/s: 14.0.2
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              • Assignee:
                agalue Alejandro Galue
                Reporter:
                agalue Alejandro Galue
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: