jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-4131) LastRevisionRecoveryAgent may throw ClassCastException
Date Thu, 17 Mar 2016 20:23:33 GMT

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

Marcel Reutegger resolved OAK-4131.
-----------------------------------
    Resolution: Fixed

Merged test into 1.0 branch and ignored the test: http://svn.apache.org/r1735493

Implemented the fix in 1.0 branch and enabled the test: http://svn.apache.org/r1735494

> 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.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)

Mime
View raw message