e.printStackTrace();
}
- try {
+ if (dataHandler != null) {
+ try {
+
+ FileOutputStream outputStream = new FileOutputStream(vaultURLFile);
+ dataHandler.writeTo(outputStream);
- FileOutputStream outputStream = new FileOutputStream(vaultURLFile);
- dataHandler.writeTo(outputStream);
-
- outputStream.flush();
- outputStream.close();
-
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ outputStream.flush();
+ outputStream.close();
+
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
}
return vaultURLFile.getPath();
input.close();
List<StepDTO> listSteps = new ArrayList<StepDTO>(numberStepMap.values());
- LOG.debug("MKA List of steps: ");
- LOG.debug(listSteps.get(0).toString());
try {
_scenarioService.checkin(ScenarioId, userId, listSteps);