Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9408

java.lang.IllegalArgumentException: Argument is not an array on ConfigUtil.isSameData(...)

    XMLWordPrintableJSON

Details

    Description

      The following exception is thrown in case the existing dictionary key is an array and the new one is no longer one:

      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)
      

      Attachments

        Activity

          People

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m