You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/01/26 10:16:49 UTC

[jira] Resolved: (SLING-1956) ConfigNodeConverter throws NPE on config with empty multi-valued property

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

Carsten Ziegeler resolved SLING-1956.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Installer 3.0.4

I think we should put an empty value in the configuration - this allows to override a configuration which has a value with an empty one

Changed in revision 1063645

> ConfigNodeConverter throws NPE on config with empty multi-valued property
> -------------------------------------------------------------------------
>
>                 Key: SLING-1956
>                 URL: https://issues.apache.org/jira/browse/SLING-1956
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: JCR Installer 3.0.2
>            Reporter: Marcel Reutegger
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Installer 3.0.4
>
>         Attachments: SLING-1956.patch
>
>
> 25.01.2011 22:24:33.270 *ERROR* [JcrInstaller.1] org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in Thread Thread[JcrInstaller.1,5,main] java.lang.NullPointerException
> 	at java.util.Hashtable.put(Hashtable.java:394)
> 	at org.apache.sling.installer.provider.jcr.impl.ConfigNodeConverter.loadProperties(ConfigNodeConverter.java:103)
> 	at org.apache.sling.installer.provider.jcr.impl.ConfigNodeConverter.load(ConfigNodeConverter.java:76)
> 	at org.apache.sling.installer.provider.jcr.impl.ConfigNodeConverter.convertNode(ConfigNodeConverter.java:59)
> 	at org.apache.sling.installer.provider.jcr.impl.WatchedFolder.scan(WatchedFolder.java:149)
> 	at org.apache.sling.installer.provider.jcr.impl.JcrInstaller$StoppableThread.run(JcrInstaller.java:187)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.