[ 
https://issues.apache.org/jira/browse/FELIX-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved FELIX-6796.
-------------------------------------
    Resolution: Fixed

https://github.com/apache/felix-dev/commit/8715ca5e4f5c8876cd04f063ee4f9ba145bd67b1

> 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.10, webconsole-5.0.12
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             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)

Reply via email to