[MJSONWP] Encountered internal error running command: Error: ENOENT: no such file or directory

Ubuntu 16.04 LTS
Appium Version 1.7.2
Java-Client 2.2.0
Selenium Standalone Server - 3.11.0
IntelliJIdea IntelliJ IDEA 2017.3.5 (Community Edition)
Build #IC-173.4674.33, built on March 5, 2018
JRE: 1.8.0_152-release-1024-b15 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-56-generic

I am using appium in the terminal to run my automated test cases. However, when I run the code on IntellijIDEA I get this error command.

[debug] [AndroidDriver] Not cleaning generated files. Add `Preformatted text``clearSystemFiles` capability if wanted.
[MJSONWP] Encountered internal error running command: Error: ENOENT: no such file or directory, mkdir '/Volumes/Documents'