Carsten Ziegeler created FELIX-6170:
---------------------------------------

             Summary: NPE in web console plugin if context path is missing for 
ServletContextHelper
                 Key: FELIX-6170
                 URL: https://issues.apache.org/jira/browse/FELIX-6170
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: http.bridge-4.0.8, http.jetty-4.0.10, http.base-4.0.6
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: http.base-4.0.8, http.bridge-4.0.10, http.jetty-4.0.12


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)




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to