context2.setFormatter(new CommandShellOutputFormatter(System.out));
Command currentCommand = command.getClass().newInstance();
try {
currentCommand.setCommandContext(context2);
currentCommand.execute(arguments != null ? new ArrayList<String>(arguments) : new ArrayList<String>());
return null;
} catch (Throwable e) {
Throwable cur = e;
while (cur.getCause() != null) {
cur = cur.getCause();