You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2021/12/10 11:13:00 UTC

[jira] [Created] (JCRVLT-575) improve diagnostics when package registry points to a file, not a directory

Julian Reschke created JCRVLT-575:
-------------------------------------

             Summary: improve diagnostics when package registry points to a file, not a directory
                 Key: JCRVLT-575
                 URL: https://issues.apache.org/jira/browse/JCRVLT-575
             Project: Jackrabbit FileVault
          Issue Type: Task
          Components: Misc
            Reporter: Julian Reschke
            Assignee: Julian Reschke
             Fix For: 3.5.6


In this case, we currently see:

 

{color:#1d1c1d}org.apache.jackrabbit.vault.packaging.registry.impl.FSPackageRegistry bundle org.apache.jackrabbit.vault:3.5.6 (151)[org.apache.jackrabbit.vault.packaging.registry.impl.FSPackageRegistry(264)] : The activate method has thrown an exception (java.nio.file.FileAlreadyExistsException: /path/to/file){color}

 

{color:#1d1c1d}Would be nice if it pointed out that there's a file where a directory is supposed to be present or created.{color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)