You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2019/08/13 15:30:00 UTC
[jira] [Created] (FELIX-6170) NPE in web console plugin if context
path is missing for ServletContextHelper
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)