jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3644) vlt: NPE when checkout is executed outside jcr_root
Date Mon, 19 Aug 2013 23:14:52 GMT

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

Tobias Bocanegra updated JCR-3644:

    Summary: vlt: NPE when checkout is executed outside jcr_root  (was: vlt: clearer error
message when checkout is executed outside jcr_root)
> vlt: NPE when checkout is executed outside jcr_root
> ---------------------------------------------------
>                 Key: JCR-3644
>                 URL: https://issues.apache.org/jira/browse/JCR-3644
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>            Reporter: Robert Munteanu
>         Attachments: JCR-3644-1.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message