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] [Commented] (JCR-3486) Potential null pointer exception in session save operation
Date Fri, 14 Dec 2012 13:36:12 GMT

    [ https://issues.apache.org/jira/browse/JCR-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532298#comment-13532298
] 

Unico Hommes commented on JCR-3486:
-----------------------------------

Fix committed to 2.4 branch in revision 1421854.
                
> 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.2.13, 2.4.3, 2.5.2
>            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