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

NPE in web console plugin if context path is missing for ServletContextHelper

    XMLWordPrintableJSON

    Details

      Description

      If a ServletContextHelper without a path property is registered this results in an NPE:
      13.08.2019 17:25:44.904 ERROR [FelixLogListener] org.apache.felix.http.jetty.light Exception while processing request to /system/console/httpservice (java.lang.NullPointerException)
      java.lang.NullPointerException: null
      at org.apache.felix.http.base.internal.console.HttpServicePlugin.getContextPath(HttpServicePlugin.java:396)
      at org.apache.felix.http.base.internal.console.HttpServicePlugin.printFailedContextDetails(HttpServicePlugin.java:458)
      at org.apache.felix.http.base.internal.console.HttpServicePlugin.doGet(HttpServicePlugin.java:229)

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: