You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2007/04/02 10:43:32 UTC

[jira] Resolved: (JCR-831) NPE Exception Thrown By AbstractJournal During Commit Operation

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

Dominique Pfister resolved JCR-831.
-----------------------------------

    Resolution: Fixed

This bug should have been fixed by the refactoring that took place while working on JCR-757: this version of AbstractJournal still relied on an instance variable named "out" that may or (in exceptional cases) may not have been initialized in the updateCreated/updatePrepared callback methods. While I could see myself these errors now and then in the non-refactored version, they disappeared after the resolving of JCR-757, which didn't make it into the 1.2.3 release, though.

> NPE Exception Thrown By AbstractJournal During Commit Operation
> ---------------------------------------------------------------
>
>                 Key: JCR-831
>                 URL: https://issues.apache.org/jira/browse/JCR-831
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.2
>         Environment: Cluster of 2 JCR JVM's, Oracle DB
>            Reporter: Hemanta Gupta
>         Assigned To: Dominique Pfister
>
> This seems related to JCR-712 (which was apparently fixed in 1.2.2), but I see the following error now-and-then on JR 1.2.2 (I'm using the DB based journal implementation with Oracle 10g):
> java.lang.NullPointerException
>         at org.apache.jackrabbit.core.cluster.AbstractJournal.commit(AbstractJournal.java:525)
>         at org.apache.jackrabbit.core.cluster.ClusterNode.updateCommitted(ClusterNode.java:424)
>         at org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCommitted(ClusterNode.java:565)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:712)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:808)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:326)
>         at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:313)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:302)
>         at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:308)
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
>         at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:823)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.