Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2126

Jackrabbit fails for "unexpected error while syncing of journal" and stops responding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: clustering
    • Labels:
      None
    • Environment:
      Webspshere, AIX server, Clustered environment.

      Description

      In a clustered environment, Jackrabbit stops processing any request on receiving this exception "unexpected error while syncing of journal:null"

      This happens inconsistently and now sure about the root cause of this issue. Jackrabbit should gracefully handle this exception and should not stop responding.

      Exception stack trace:
      [ClusterNode-596d] Unexpected error while syncing of journal: null
      java.lang.NullPointerException
      at org.apache.jackrabbit.core.state.ItemState.pull(ItemState.java:156)
      at org.apache.jackrabbit.core.state.LocalItemStateManager.stateModified(LocalItemStateManager.java:420)
      at org.apache.jackrabbit.core.state.StateChangeDispatcher.notifyStateModified(StateChangeDispatcher.java:85)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.stateModified(SharedItemStateManager.java:390)
      at org.apache.jackrabbit.core.state.ItemState.notifyStateUpdated(ItemState.java:241)
      at org.apache.jackrabbit.core.state.ChangeLog.persisted(ChangeLog.java:271)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.doExternalUpdate(SharedItemStateManager.java:945)
      at org.apache.jackrabbit.core.state.SharedItemStateManager.externalUpdate(SharedItemStateManager.java:871)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.externalUpdate(RepositoryImpl.java:1957)
      at org.apache.jackrabbit.core.cluster.ClusterNode.end(ClusterNode.java(Compiled Code))
      at org.apache.jackrabbit.core.cluster.ClusterNode.consume(ClusterNode.java(Compiled Code))
      at org.apache.jackrabbit.core.journal.AbstractJournal.doSync(AbstractJournal.java(Compiled Code))
      at org.apache.jackrabbit.core.journal.AbstractJournal.sync(AbstractJournal.java(Compiled Code))
      at org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java(Compiled Code))
      at org.apache.jackrabbit.core.cluster.ClusterNode.run(ClusterNode.java(Compiled Code))
      at java.lang.Thread.run(Thread.java:570)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                badaljain Badal
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: