Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4131

LastRevisionRecoveryAgent may throw ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.22, 1.0.23, 1.0.24, 1.0.25, 1.0.26, 1.0.27, 1.0.28, 1.2.7, 1.2.8, 1.2.9, 1.2.10
    • 1.0.29, 1.2.11
    • core, mongomk
    • None

    Description

      The issue was introduced with OAK-3435 but is currently only present
      in the 1.0 branch. Other branches and trunk do not have the affected
      method anymore. It was removed with OAK-3439.

      org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService$3@70ecfb1b : java.lang.Integer cannot be cast to java.lang.Long
      java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
      at org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.getRecoveryCandidateNodes(LastRevRecoveryAgent.java:362)
      at org.apache.jackrabbit.oak.plugins.document.LastRevRecoveryAgent.performRecoveryIfNeeded(LastRevRecoveryAgent.java:339)
      at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService$3.run(DocumentNodeStoreService.java:542)
      

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: