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

     [ https://issues.apache.org/jira/browse/JCR-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Unico Hommes updated JCR-3486:
------------------------------

    Fix Version/s: 2.6
                   2.4.4
                   2.2.14
    
> 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
>             Fix For: 2.2.14, 2.4.4, 2.6
>
>
> 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