[ https://issues.apache.org/jira/browse/JCRVLT-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17676880#comment-17676880 ]
Konrad Windszus commented on JCRVLT-677: ---------------------------------------- The full stack trace for the NPE above is {code} [ERROR] checkout: java.lang.NullPointerException: null java.lang.NullPointerException: null at java.base/java.io.File.<init>(File.java:361) ~[na:na] at org.apache.jackrabbit.vault.vlt.meta.xml.XmlEntry.revertConflict(XmlEntry.java:191) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltFile.update(VltFile.java:483) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.actions.Update.run(Update.java:60) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:460) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:427) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:472) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:427) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:472) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:427) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:472) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:427) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltDirectory.applyWithRemote(VltDirectory.java:400) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.actions.Checkout.run(Checkout.java:142) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.vlt.VltContext.execute(VltContext.java:333) ~[vault-vlt-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.cli.CmdCheckoutCli.doExecute(CmdCheckoutCli.java:93) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.cli.AbstractVaultCommand.doExecute(AbstractVaultCommand.java:46) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.cli.AbstractVaultCommand.doExecute(AbstractVaultCommand.java:33) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.util.console.commands.AbstractCommand.execute(AbstractCommand.java:37) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.util.console.ExecutionContext.doExecute(ExecutionContext.java:171) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.util.console.ExecutionContext.execute(ExecutionContext.java:132) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.util.console.AbstractApplication.execute(AbstractApplication.java:299) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.cli.VaultFsApp.execute(VaultFsApp.java:726) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.util.console.AbstractApplication.run(AbstractApplication.java:244) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] at org.apache.jackrabbit.vault.cli.VaultFsApp.main(VaultFsApp.java:137) ~[vault-cli-3.6.9-SNAPSHOT.jar:3.6.9-SNAPSHOT] {code} > NPE during "vlt checkout" > ------------------------- > > 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 > 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)