The command fails if the adoc file path you want to render as HTML/PDF contains special characters.
NOTE: So far, I have no idea how to fix that.