1 Nov 2011 12:44
[Commented] (JCR-3131) NPE in ItemManager when calling Session.save() with nothing to save
Jukka Zitting (Commented) (JIRA <jira <at> apache.org>
2011-11-01 11:44:32 GMT
2011-11-01 11:44:32 GMT
[
https://issues.apache.org/jira/browse/JCR-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141086#comment-13141086
]
Jukka Zitting commented on JCR-3131:
------------------------------------
+1 the patch looks good
> NPE in ItemManager when calling Session.save() with nothing to save
> -------------------------------------------------------------------
>
> Key: JCR-3131
> URL: https://issues.apache.org/jira/browse/JCR-3131
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.3.2
> Reporter: Bertrand Delacretaz
> Assignee: Julian Reschke
> Priority: Minor
> Attachments: JCR-3131.patch
>
>
> I'm getting an NPE on the id.denoteNodes() call below, in ItemManager:
> private ItemData retrieveItem(ItemId id) {
> synchronized (itemCache) {
> ItemData data = itemCache.get(id);
> if (data == null && id.denotesNode()) {
(Continue reading)
RSS Feed