Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7714

Add owner of a session to the message of PathNotFoundException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.3
    • Fix Version/s: None
    • Component/s: jcr
    • Labels:
      None

      Description

      When I get such exceptions:

      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) 
      

      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.

        Attachments

        1. OAK-7714.patch
          0.8 kB
          Joerg Hoh

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joerghoh Joerg Hoh
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: