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 2020/04/29 16:39:00 UTC

[jira] [Resolved] (SLING-9408) java.lang.IllegalArgumentException: Argument is not an array on ConfigUtil.isSameData(...)

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

Konrad Windszus resolved SLING-9408.
------------------------------------
    Resolution: Fixed

Merged in https://github.com/apache/sling-org-apache-sling-installer-factory-configuration/commit/1b62c1a5e15ef1ce5222dc3a0af73cd9cf7bb57a.

> java.lang.IllegalArgumentException: Argument is not an array on ConfigUtil.isSameData(...)
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-9408
>                 URL: https://issues.apache.org/jira/browse/SLING-9408
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Configuration Factory 1.2.4
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Installer Configuration Factory 1.3.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The following exception is thrown in case the existing dictionary key is an array and the new one is no longer one:
> {code}
> 29.04.2020 18:16:44.939 *ERROR* [OsgiInstallerImpl] org.apache.sling.installer.factories.configuration.impl.ConfigInstallTask Exception during installation of config TaskResource(url=jcrinstall:/apps/.../config.netcentric.author/com.adobe.acs.commons.util.impl.BundleDisabler.config, entity=config:com.adobe.acs.commons.util.impl.BundleDisabler, state=INSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:14209:, service.pid=com.adobe.acs.commons.util.impl.BundleDisabler], digest=3be32a646ef1ae9cc98f482c41486730) : Argument is not an array
> java.lang.IllegalArgumentException: Argument is not an array
> 	at java.lang.reflect.Array.getLength(Native Method)
> 	at org.apache.sling.installer.factories.configuration.impl.ConfigUtil.convertToObjectArray(ConfigUtil.java:83) [org.apache.sling.installer.factory.configuration:1.2.4]
> 	at org.apache.sling.installer.factories.configuration.impl.ConfigUtil.isSameData(ConfigUtil.java:103) [org.apache.sling.installer.factory.configuration:1.2.4]
> 	at org.apache.sling.installer.factories.configuration.impl.ConfigInstallTask.execute(ConfigInstallTask.java:68) [org.apache.sling.installer.factory.configuration:1.2.4]
> 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks(OsgiInstallerImpl.java:914) [org.apache.sling.installer.core:3.9.0]
> 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:749) [org.apache.sling.installer.core:3.9.0]
> 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:298) [org.apache.sling.installer.core:3.9.0]
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)