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:38:00 UTC
[jira] [Resolved] (FELIX-6170) NPE in web console plugin if context
path is missing for ServletContextHelper
[ https://issues.apache.org/jira/browse/FELIX-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6170.
-------------------------------------
Resolution: Fixed
Fixed in 1865046.
> 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.base-4.0.6, http.jetty-4.0.10, http.bridge-4.0.8
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: http.jetty-4.0.12, http.base-4.0.8, http.bridge-4.0.10
>
>
> 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)