This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new 0960493d18 correct column boundary check, fixes #5913 (#5914)
0960493d18 is described below
commit 0960493d183f2ce5f92ac8b62e924c5526dc1f97
Author: Alex Mueller <[email protected]>
AuthorDate: Mon Oct 27 14:30:59 2025 +0100
correct column boundary check, fixes #5913 (#5914)
---
.../apache/hop/pipeline/transforms/excelinput/staxpoi/StaxPoiSheet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/staxpoi/StaxPoiSheet.java
b/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/staxpoi/StaxPoiSheet.java
index c9315ff2ea..22af33defd 100644
---
a/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/staxpoi/StaxPoiSheet.java
+++
b/plugins/transforms/excel/src/main/java/org/apache/hop/pipeline/transforms/excelinput/staxpoi/StaxPoiSheet.java
@@ -306,7 +306,7 @@ public class StaxPoiSheet implements IKSheet {
}
// if random access this will be very expensive
IKCell[] row = getRow(rownr);
- if (row != null && rownr < row.length) {
+ if (row != null && colnr < row.length) {
return row[colnr];
}
return null;