[
https://issues.apache.org/jira/browse/SLING-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus reassigned SLING-12479:
---------------------------------------
Assignee: Konrad Windszus
> 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
> Assignee: 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)