Carsten Ziegeler created FELIX-6796:
---------------------------------------
Summary: Potential NPE when logging into webconsole
Key: FELIX-6796
URL: https://issues.apache.org/jira/browse/FELIX-6796
Project: Felix
Issue Type: Task
Components: Web Console
Affects Versions: webconsole-5.0.12, webconsole-5.0.10
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: webconsole-5.0.14
Sometimes the following NPE occurs - which is an ordering problem when
initializing the webconsole and might occur when no OSGi configuration is set
for the webconsole.
12.08.2025 06:28:00.626 *ERROR* [ssta=] [Default Executor-thread-19]
org.apache.felix.http Exception while processing request to
/system/console/jmx/org.apache.sling.installer:name=Sling+OSGi+Installer,type=Installer
java.lang.NullPointerException: Cannot invoke
"org.osgi.util.tracker.ServiceTracker.getService()" because "this.tracker" is
null
at
org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext.handleSecurity(OsgiManagerHttpContext.java:59)
[org.apache.felix.webconsole:5.0.10]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)