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

Include node path in VersionException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4, 1.4.0
    • core
    • None

    Description

      Version related exception do not include offending Node path which make debugging such issues difficult

      Caused by: javax.jcr.version.VersionException: Cannot add mixin type. Node is checked in.
              at org.apache.jackrabbit.oak.jcr.session.NodeImpl$26.checkPreconditions(NodeImpl.java:948)
              at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:212)
              at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
              at org.apache.jackrabbit.oak.jcr.session.NodeImpl.addMixin(NodeImpl.java:943)
      

      Attachments

        1. OAK-4071.patch
          8 kB
          Chetan Mehrotra

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: