You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/03/17 20:54:33 UTC

[jira] [Created] (OAK-4131) LastRevisionRecoveryAgent may throw ClassCastException

Marcel Reutegger created OAK-4131:
-------------------------------------

             Summary: LastRevisionRecoveryAgent may throw ClassCastException
                 Key: OAK-4131
                 URL: https://issues.apache.org/jira/browse/OAK-4131
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, mongomk
    Affects Versions: 1.0.28, 1.0.27, 1.2.10, 1.0.26, 1.0.25, 1.2.9, 1.0.24, 1.2.8, 1.0.23, 1.0.22, 1.2.7
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
             Fix For: 1.0.29, 1.2.11


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.

{noformat}
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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)