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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/08/20 17:36:51 UTC

[jira] [Resolved] (OAK-965) SegmentNodeState.equals fails with IllegalArgumentException

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

Michael Dürig resolved OAK-965.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Michael Dürig

This was caused by the {{SegmentNodeState}} comparison not being aware of node states originating from different node stores. 

Fixed at revision 1515846
                
> SegmentNodeState.equals fails with IllegalArgumentException
> -----------------------------------------------------------
>
>                 Key: OAK-965
>                 URL: https://issues.apache.org/jira/browse/OAK-965
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.9
>
>
> {code}
> java.lang.IllegalArgumentException: Segment not found: 43ccdd85-8d04-421f-96ab-5bf0e0bd6ea4
> 	at org.apache.jackrabbit.oak.plugins.segment.memory.MemoryStore.readSegment(MemoryStore.java:74)
> 	at org.apache.jackrabbit.oak.plugins.segment.Template.getChildNode(Template.java:315)
> 	at org.apache.jackrabbit.oak.plugins.segment.Template.compare(Template.java:369)
> 	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.equals(SegmentNodeState.java:158)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira