}
ParameterizedCommand parameterizedCommand = ParameterizedCommand.generateCommand(command, params);
try {
- handlerService.executeCommand(parameterizedCommand, null);
+ if(parameterizedCommand!=null){
+ handlerService.executeCommand(parameterizedCommand, null);
+ }
+ else{
+ handlerService.executeCommand(command.getId(), null);
+ }
} catch (NotDefinedException nde) {
throw new RuntimeException("Could not find open command: " + command.getId());
} catch (Exception exception) {