NTCollectionConverterImpl throws a null pointer exception on update
-------------------------------------------------------------------
Key: JCR-1044
URL: https://issues.apache.org/jira/browse/JCR-1044
Project: Jackrabbit
Issue Type: Bug
Components: jcr-mapping
Affects Versions: 1.3
Environment: All
Reporter: Padraic Hannon
When calling update on a node which has no child nodes stored (but which can
have child nodes) the code can generate a null pointer exception. In the case
where one goes to remove JCR nodes which are not present in the current objects
collection of child objects the code is calling
getCollectionNodes().iterator(). However, since is not checking for the case
where getCollectionNodes() returns null if there are no child nodes present a
null pointer exception will be generated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.