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

Gregory Hart commented on MNG-7796:
-----------------------------------

No stack trace is displayed. I enabled debug logging with "mvn -X" and no 
additional output is displayed.

Looking at the source code, I see that ExitException is thrown. I think that 
causes System.exit() to be called without printing a stack trace.
https://github.com/apache/maven/blob/maven-3.9.2/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L356

> Top directory cannot be computed
> --------------------------------
>
>                 Key: MNG-7796
>                 URL: https://issues.apache.org/jira/browse/MNG-7796
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.9.2
>         Environment: Windows Server Core 2016 guest running inside a docker 
> container on a Windows Server 2016 EC2 machine
>            Reporter: Gregory Hart
>            Priority: Major
>
> When running Maven it exits immediately with return code 1 after writing 
> "Error computing real path" to the console.
> Here is the full console output:
> {noformat}
> Error computing real path from 
> C:\Users\Administrator\jenkins\workspace\myproject_release_1.0\src\myproject\src:
>  
> C:\Users\Administrator\jenkins\workspace\myproject_release_1.0\src\myproject\src{noformat}



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

Reply via email to