errorFile);
try {
Process process = builder.start();
try {
LOG.info("Stack-advisor output={}, error={}", outputFile, errorFile);
<BUG>int exitCode = process.waitFor();
try {
String outMessage = FileUtils.readFileToString(new File(outputFile));

String errMessage = FileUtils.readFileToString(new File(errorFile));
</BUG>
LOG.info("Stack advisor output files");

errorFile);
try {
Process process = builder.start();
try {
LOG.info("Stack-advisor output={}, error={}", outputFile, errorFile);
int exitCode = process.waitFor();
String outMessage;
String errMessage = null;
try {
outMessage = FileUtils.readFileToString(new File(outputFile)).trim();
errMessage = FileUtils.readFileToString(new File(errorFile)).trim();
LOG.info("Stack advisor output files");
