jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-4071) Include node path in VersionException
Date Mon, 29 Feb 2016 14:10:18 GMT

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

Chetan Mehrotra resolved OAK-4071.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.6)
                   1.3.17

> Include node path in VersionException
> -------------------------------------
>
>                 Key: OAK-4071
>                 URL: https://issues.apache.org/jira/browse/OAK-4071
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.3.17
>
>         Attachments: OAK-4071.patch
>
>
> Version related exception do not include offending Node path which make debugging such
issues difficult
> {noformat}
> Caused by: javax.jcr.version.VersionException: Cannot add mixin type. Node is checked
in.
>         at org.apache.jackrabbit.oak.jcr.session.NodeImpl$26.checkPreconditions(NodeImpl.java:948)
>         at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:212)
>         at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
>         at org.apache.jackrabbit.oak.jcr.session.NodeImpl.addMixin(NodeImpl.java:943)
> {noformat}



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

Mime
View raw message