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 2009/10/12 15:05:31 UTC
[jira] Resolved: (SLING-1153) Throw NPE if key is null
[ https://issues.apache.org/jira/browse/SLING-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1153.
-------------------------------------
Resolution: Fixed
Now NPE is thrown in all places if the key is null
> Throw NPE if key is null
> ------------------------
>
> Key: SLING-1153
> URL: https://issues.apache.org/jira/browse/SLING-1153
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 2.0.6
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: JCR Resource 2.0.8
>
>
> The current behaviour is not consistent: while some methods accept null as the key, others throw NPE's (without a meaningfull message)
> We should throw an NPE in all cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.