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 "Angela Schreiber (Jira)" <ji...@apache.org> on 2022/07/13 14:22:00 UTC

[jira] [Resolved] (OAK-7714) Add owner of a session to the message of PathNotFoundException

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

Angela Schreiber resolved OAK-7714.
-----------------------------------
    Resolution: Won't Fix

> Add owner of a session to the message of PathNotFoundException
> --------------------------------------------------------------
>
>                 Key: OAK-7714
>                 URL: https://issues.apache.org/jira/browse/OAK-7714
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>    Affects Versions: 1.8.3
>            Reporter: Joerg Hoh
>            Priority: Minor
>         Attachments: OAK-7714.patch
>
>
> When I get such exceptions:
> {code}
> Caused by: javax.jcr.PathNotFoundException: /content/somepath/
>         at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItem(SessionImpl.java:362)
>         at com.adobe.granite.repository.impl.CRX3SessionImpl.getItem(CRX3SessionImpl.java:168) 
> {code}
> it is not always obvious if this path exists at all or if it's just not available to the session; and if it's the later it would also be beneficial if some indication about the session (especially the user) would be given to speedup the problem analysis.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)