You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "neshtaMedia (via GitHub)" <gi...@apache.org> on 2024/09/24 14:06:23 UTC

[I] Exception when running with ansible shell module [maven-mvnd]

neshtaMedia opened a new issue, #1150:
URL: https://github.com/apache/maven-mvnd/issues/1150

   Ansible command:
   
       - name: Build project
         local_action:
           module: shell
           cmd: "mvnd --batch-mode --log-file build_log.txt --projects web/{{ artifact_name }} clean verify --also-make"
           args:
             chdir: ../../
         run_once: true
   
   
   
   Exception in thread \"main\" java.lang.RuntimeException: Could not write to build_log.txt\n\tat org.mvndaemon.mvnd.common.logging.TerminalOutput$FileLog.accept(TerminalOutput.java:907)\n\tat org.mvndaemon.mvnd.common.logging.TerminalOutput.doAccept(TerminalOutput.java:333)\n\tat org.mvndaemon.mvnd.common.logging.TerminalOutput.accept(TerminalOutput.java:204)\n\tat org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:399)\n\tat org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:169)\n\tat java.base@22.0.1/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)\nCaused by: java.io.IOException: Stream closed\n\tat java.base@22.0.1/java.io.BufferedWriter.ensureOpen(BufferedWriter.java:132)\n\tat java.base@22.0.1/java.io.BufferedWriter.implWrite(BufferedWriter.java:325)\n\tat java.base@22.0.1/java.io.BufferedWriter.write(BufferedWriter.java:313)\n\tat java.base@22.0.1/java.io.Writer.write(Writer.java:278)\n\tat org.mvndaemon.mvnd.common.log
 ging.TerminalOutput$FileLog.accept(TerminalOutput.java:904)\n\t... 5 more", "stderr_lines": ["Sep 24, 2024 4:46:27 PM org.jline.utils.Log logr", "WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)", "[main] WARNING org.jline - Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)", "[main] WARNING org.mvndaemon.mvnd.client.DaemonParameters - Falling back to finding JAVA_HOME by running java executable available in PATH. You may want to avoid this time consuming task by setting JAVA_HOME environment variable or by passing java.home system property through command line or in one of mvnd configuration files.", "Exception in thread \"main\" java.lang.RuntimeException: Could not write to build_log.txt", "\tat org.mvndaemon.mvnd.common.logging.TerminalOutput$FileLog.accept(TerminalOutput.java:907)", "\tat org.mvndaemon.mvnd.common.logging.TerminalOutput.doAccept(TerminalOutput
 .java:333)", "\tat org.mvndaemon.mvnd.common.logging.TerminalOutput.accept(TerminalOutput.java:204)", "\tat org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:399)", "\tat org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:169)", "\tat java.base@22.0.1/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)", "Caused by: java.io.IOException: Stream closed", "\tat java.base@22.0.1/java.io.BufferedWriter.ensureOpen(BufferedWriter.java:132)", "\tat java.base@22.0.1/java.io.BufferedWriter.implWrite(BufferedWriter.java:325)", "\tat java.base@22.0.1/java.io.BufferedWriter.write(BufferedWriter.java:313)", "\tat java.base@22.0.1/java.io.Writer.write(Writer.java:278)", "\tat org.mvndaemon.mvnd.common.logging.TerminalOutput$FileLog.accept(TerminalOutput.java:904)", "\t... 5 more"], "stdout": "", "stdout_lines": []}
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Exception when running with ansible shell module [maven-mvnd]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz closed issue #1150: Exception when running with ansible shell module
URL: https://github.com/apache/maven-mvnd/issues/1150


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org