[
https://issues.apache.org/jira/browse/KARAF-7752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-7752.
-----------------------------------------
Target Version/s: (was: 4.4.5)
Resolution: Duplicate
> Several Webconsole sections stopped working
> -------------------------------------------
>
> Key: KARAF-7752
> URL: https://issues.apache.org/jira/browse/KARAF-7752
> Project: Karaf
> Issue Type: Bug
> Components: webconsole
> Affects Versions: 4.4.4
> Environment: Apache Karaf 4.4.4 (binary release), Java 17, Alpine
> Linux x86-64.
> Executed commands: _feature install http webconsole_
> $ java -version
> openjdk version "17.0.8" 2023-07-18
> OpenJDK Runtime Environment (build 17.0.8+7-alpine-r2)
> OpenJDK 64-Bit Server VM (build 17.0.8+7-alpine-r2, mixed mode, sharing)
> $ uname -a
> Linux cinder 6.1.53-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023
> 12:45:27 +0000 x86_64 GNU/Linux
> Reporter: M. Gomes (Celfocus)
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
>
> Starting with Karaf 4.4.4 several webconsole pages no longer work:
> * Main > Features (blank content)
> * Main > Gogo (blank content)
> * Main > HTTP (blank content)
> * Main > Instances (blank content)
> * OSGi > Events (500 error, see below)
> * Other felix webconsole components also give a 500 error
> In the case of the 500 error the content is:
> h2. HTTP ERROR 500 java.lang.NullPointerException: Cannot invoke
> "javax.servlet.ServletConfig.getServletName()" because the return value of
> "org.apache.felix.webconsole.internal.WebConsolePluginAdapter.getServletConfig()"
> is null
> ||URI:|/system/console/events|
> ||STATUS:|500|
> ||MESSAGE:|java.lang.NullPointerException: Cannot invoke
> "javax.servlet.ServletConfig.getServletName()" because the return value of
> "org.apache.felix.webconsole.internal.WebConsolePluginAdapter.getServletConfig()"
> is null|
> ||SERVLET:|org.apache.felix.webconsole.internal.servlet.KarafOsgiManager|
> ||CAUSED BY:|java.lang.NullPointerException: Cannot invoke
> "javax.servlet.ServletConfig.getServletName()" because the return value of
> "org.apache.felix.webconsole.internal.WebConsolePluginAdapter.getServletConfig()"
> is null|
--
This message was sent by Atlassian Jira
(v8.20.10#820010)