Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3669

NPE in ControlServlet.deviceToJSON

    XMLWordPrintableJSON

Details

    Description

      I got that exception with a click on "Search for UPnP Devices" after WebConsole UPnP plug-in bundle restart. The stack trace is:
      java.lang.NullPointerException
      at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceToJSON(ControlServlet.java:275)
      at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.deviceTreeToJSON(ControlServlet.java:241)
      at org.apache.felix.webconsole.plugins.upnp.internal.ControlServlet.doPost(ControlServlet.java:147)
      at org.apache.felix.webconsole.plugins.upnp.internal.WebConsolePlugin.doPost(WebConsolePlugin.java:102)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:493)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:418)

      Attachments

        1. NPE_in_ControlServlet.deviceToJSON
          2 kB
          Evgeni Grigorov

        Activity

          People

            v_valchev Valentin Valchev
            evgeni Evgeni Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: