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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/06/30 06:53:04 UTC

[jira] [Resolved] (OAK-3043) Provide item path with InvalidItemStateException

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