This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push: new b2840bd851 NIFI-13466 Catch IllegalStateException in SplitExcel b2840bd851 is described below commit b2840bd85190fd67583da3c02efe5b34795fe659 Author: dan-s1 <dsti...@gmail.com> AuthorDate: Wed Jul 3 16:21:15 2024 +0000 NIFI-13466 Catch IllegalStateException in SplitExcel This closes #9033 Signed-off-by: David Handermann <exceptionfact...@apache.org> --- .../src/main/java/org/apache/nifi/processors/excel/SplitExcel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-extension-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/processors/excel/SplitExcel.java b/nifi-extension-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/processors/excel/SplitExcel.java index 86812f2e4f..62ac79fd14 100644 --- a/nifi-extension-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/processors/excel/SplitExcel.java +++ b/nifi-extension-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/processors/excel/SplitExcel.java @@ -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)