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

Chetan Mehrotra resolved OAK-3043.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.17
                   1.2.3

Fixed
* trunk - http://svn.apache.org/r1688349
* 1.0 - http://svn.apache.org/r1688354
* 1.2 - http://svn.apache.org/r1688355

> Provide item path with InvalidItemStateException
> ------------------------------------------------
>
>                 Key: OAK-3043
>                 URL: https://issues.apache.org/jira/browse/OAK-3043
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.2.3, 1.3.2, 1.0.17
>
>
> At times following exception is seen in the logs. To make the exception 
> helpful to end user we should include the item path in the exception message
> {noformat}
> Caused by: javax.jcr.InvalidItemStateException: This item does not exist 
> anymore
>       at 
> org.apache.jackrabbit.oak.jcr.delegate.ItemDelegate.checkAlive(ItemDelegate.java:85)
>       at 
> org.apache.jackrabbit.oak.jcr.session.operation.ItemOperation.checkPreconditions(ItemOperation.java:34)
>       at 
> org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:290)
>       at 
> org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
>       at 
> org.apache.jackrabbit.oak.jcr.session.ItemImpl.getPath(ItemImpl.java:153)
>       at 
> org.apache.jackrabbit.oak.jcr.session.NodeImpl.getPath(NodeImpl.java:99)
>       at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource.getPath(JcrItemResource.java:80)
>       ... 16 common frames omitted
> {noformat}



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

Reply via email to