Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-5

vlt: NPE when checkout is executed outside jcr_root

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      When vlt co is ran inside a vlt checkout but not inside the jcr_root directory, the action fails with a NPE. To reproduce, I've executed the following against a Sling launchpad instance twice , without having any filters defined:

      vlt --credentials admin:admin co --force http://localhost:8080/server/-/jcr:root/ .

      The first checkout correctly creates jcr_root and META-INF directories. However, when I executed the command the second time, it deletes the jcr_root directory and checks out the directories inside the base checkout dir and fails at the end with

      [ERROR] checkout: java.lang.NullPointerException: null

      I'll attach a simple patch which indicates better what the problem can be.

      Attachments

        1. JCR-3644-1.patch
          0.9 kB
          Robert Munteanu

        Activity

          People

            Unassigned Unassigned
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: