Konrad Windszus created SLING-9408: -------------------------------------- Summary: 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
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/bruker/sysconfig/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)