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 21:16:33 UTC

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

    [ https://issues.apache.org/jira/browse/OAK-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200284#comment-15200284 ] 

Marcel Reutegger commented on OAK-4131:
---------------------------------------

Added a test to trunk: http://svn.apache.org/r1735484

Merged test into 1.4 branch: http://svn.apache.org/r1735488
and into 1.2 branch: http://svn.apache.org/r1735489

In trunk, the 1.4 and 1.2 branches, the test runs successfully.

> 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.2.7, 1.0.22, 1.0.23, 1.2.8, 1.0.24, 1.2.9, 1.0.25, 1.0.26, 1.2.10, 1.0.27, 1.0.28
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.2.11, 1.0.29
>
>
> 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)