you can use `IOUtils.close(processor)` it deals with `null` values...