You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/11/12 15:27:00 UTC
[jira] [Updated] (SLING-12479) osgi-installer-config-printer throws NPE when not called with request parameter pid
[ https://issues.apache.org/jira/browse/SLING-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-12479:
------------------------------------
Fix Version/s: Installer Configuration Factory 1.4.6
> osgi-installer-config-printer throws NPE when not called with request parameter pid
> -----------------------------------------------------------------------------------
>
> Key: SLING-12479
> URL: https://issues.apache.org/jira/browse/SLING-12479
> Project: Sling
> Issue Type: Bug
> Components: Installer
> Affects Versions: Installer Configuration Factory 1.4.4
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Installer Configuration Factory 1.4.6
>
>
> Due to the logic added with SLING-11864 the following NPE is thrown when the web console plugin is called without the request parameter {{pid}}.
> The following stacktrace is emitted:
> {code}
> ava.lang.NullPointerException
> at java.base/java.lang.String.concat(String.java:1937)
> at org.apache.sling.installer.factories.configuration.impl.ConfigTaskCreator.getDefaultProperties(ConfigTaskCreator.java:186)
> at org.apache.sling.installer.factories.configuration.impl.ConfigurationSerializerWebConsolePlugin.service(ConfigurationSerializerWebConsolePlugin.java:123)
> at org.apache.felix.webconsole.internal.legacy.WebConsolePluginAdapter.renderContent(WebConsolePluginAdapter.java:128)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:182)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)