NIFI-13466 Catch IllegalStateException in SplitExcel

This closes #9033

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
dan-s1 2024-07-03 16:21:15 +00:00 committed by exceptionfactory
parent 15e5193099
commit b2840bd851
No known key found for this signature in database

View File

@ -174,7 +174,7 @@ public class SplitExcel extends AbstractProcessor {
index++;
}
});
} catch (ExcelRuntimeException | ProcessException e) {
} catch (ExcelRuntimeException | IllegalStateException | ProcessException e) {
getLogger().error("Failed to split {}", originalFlowFile, e);
session.remove(workbookSplits.stream()
.map(WorkbookSplit::content)