jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unico Hommes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3486) Potential null pointer exception in session save operation
Date Fri, 14 Dec 2012 13:24:12 GMT
Unico Hommes created JCR-3486:
---------------------------------

             Summary: Potential null pointer exception in session save operation
                 Key: JCR-3486
                 URL: https://issues.apache.org/jira/browse/JCR-3486
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.5.2, 2.4.3, 2.2.13
            Reporter: Unico Hommes
            Assignee: Unico Hommes


SessionItemStateManager#getIdOfRootTransientNodeState may return null. But this isn't checked
while performing a session save operation.

java.lang.NullPointerException
        at org.apache.jackrabbit.core.ItemManager.retrieveItem(ItemManager.java:889)
        at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:374)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
        at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
        at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:42)
        at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
        at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:359)
        at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:762)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message