[ 
https://issues.apache.org/jira/browse/JCRVLT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678278#comment-17678278
 ] 

Konrad Windszus commented on JCRVLT-677:
----------------------------------------

This is even caught by the JUnit3 test in 
https://github.com/apache/jackrabbit-filevault/blob/cc16d4d9d3bdcea422f9da519fd1c8ab06aae8d0/vault-vlt/src/test/java/org/apache/jackrabbit/vault/vlt/meta/AbstractTestEntries.java#L92
 which is unfortunately not executed by maven-surefire-plugin:

{code}
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ vault-vlt ---
[INFO] Using auto detected provider 
org.apache.maven.surefire.junit4.JUnit4Provider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{code}

> NPE during "vlt checkout" with --force on existing repository
> -------------------------------------------------------------
>
>                 Key: JCRVLT-677
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-677
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.6.8
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> When executing {{vlt co}} against the root of an existing repository the 
> following error is thrown:
> {code}
> vlt --credentials admin:admin co http://localhost:4502 --force -v
> Checkout http://localhost:4502/crx/server/-/jcr:root/ with local files using 
> root at /Users/konradwindszus/CQ-Server-Export/AEMCloud/jcr_root
> Connecting via JCR remoting to http://localhost:4502/crx/server
> [WARN ] Credentials for http://localhost:4502/crx/server/-/jcr:root/ updated 
> in /Users/konradwindszus/.vault/auth.xml.
> Filter
> `-- NodeFilterSet
>     |-- root: /, mode REPLACE
>     |-- exclude
>     |   `-- DefaultPathFilter:
>     |       `-- regex: /jcr:system
>     |-- exclude
>     |   `-- DefaultPathFilter:
>     |       `-- regex: /var/classes
>     `-- exclude
>         `-- DefaultPathFilter:
>             `-- regex: ^.*/rep:accessControl
> `-- PropertyFilterSet
>     |-- root: /, mode REPLACE
> Checking out / to jcr_root
> [ERROR] checkout: java.lang.NullPointerException: null
> {code}
> The stack trace is never exposed even with DEBUG category enabled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to