Index: applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java
===================================================================
--- applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 32680)
+++ applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 32683)
@@ -40,4 +40,5 @@
 import java.nio.file.StandardCopyOption;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.Collection;
 import java.util.List;
@@ -518,5 +519,5 @@
                 Main.error(
                         tr("Error executing the script: ") +
-                        debugstr.toString() + e.getMessage() + "\n" + e.getStackTrace());
+                        debugstr.toString() + e.getMessage() + "\n" + Arrays.toString(e.getStackTrace()));
             }
             return;
