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 "Jörg Hoh (JIRA)" <ji...@apache.org> on 2019/04/01 14:17:00 UTC
[jira] [Updated] (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 ]
Jörg Hoh updated OAK-7714:
--------------------------
Summary: Add owner of a session to the message of PathNotFoundException (was: iAdd owern of a session to the message of PathNotFoundException)
> 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: Jörg 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
(v7.6.3#76005)