diff --git a/doc/tFileExcelReferencedCellOutput_example.png b/doc/tFileExcelReferencedCellOutput_example.png
new file mode 100644
index 0000000..e352a0b
Binary files /dev/null and b/doc/tFileExcelReferencedCellOutput_example.png differ
diff --git a/pom.xml b/pom.xml
index d0d275c..37b7912 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
de.jlo.talendcomp
jlo-talendcomp-excel
- 13.4
+ 13.5
Talend Excel Components
Jan Lolling
diff --git a/src/main/java/de/jlo/talendcomp/excel/SpreadsheetInput.java b/src/main/java/de/jlo/talendcomp/excel/SpreadsheetInput.java
index 5e7383c..9b2e5ed 100644
--- a/src/main/java/de/jlo/talendcomp/excel/SpreadsheetInput.java
+++ b/src/main/java/de/jlo/talendcomp/excel/SpreadsheetInput.java
@@ -769,6 +769,9 @@ public void setHeaderName(int columnIndex, String headerName, boolean ignoreMiss
public void configColumnPositions() throws Exception {
headerRow = sheet.getRow(headerRowIndex);
+ if (headerRow == null) {
+ throw new Exception("Try to configure column config for sheet: " + getTargetSheetName() + " by header row but there is no row at row-index: " + (headerRowIndex + 1)); // in the gui the index is 1-based
+ }
int lastCellNum = headerRow.getLastCellNum();
int firstCellNum = headerRow.getFirstCellNum();
for (int i = firstCellNum; i <= lastCellNum; i++) {
@@ -997,8 +1000,4 @@ public void setLenientDateParsing(Boolean lenientDateParsing) {
}
}
- public Row getHeaderRow() {
- return headerRow;
- }
-
}
\ No newline at end of file
diff --git a/talend_component/.DS_Store b/talend_component/.DS_Store
new file mode 100644
index 0000000..5359d95
Binary files /dev/null and b/talend_component/.DS_Store differ
diff --git a/talend_component/tFileExcelNamedCellInput/tFileExcelNamedCellInput_java.xml b/talend_component/tFileExcelNamedCellInput/tFileExcelNamedCellInput_java.xml
index fa7b71e..f7b80fd 100644
--- a/talend_component/tFileExcelNamedCellInput/tFileExcelNamedCellInput_java.xml
+++ b/talend_component/tFileExcelNamedCellInput/tFileExcelNamedCellInput_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -35,8 +35,8 @@
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelNamedCellOutput/tFileExcelNamedCellOutput_java.xml b/talend_component/tFileExcelNamedCellOutput/tFileExcelNamedCellOutput_java.xml
index c135ca3..2969d0a 100644
--- a/talend_component/tFileExcelNamedCellOutput/tFileExcelNamedCellOutput_java.xml
+++ b/talend_component/tFileExcelNamedCellOutput/tFileExcelNamedCellOutput_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -42,8 +42,8 @@
false
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelReferencedCellInput/tFileExcelReferencedCellInput_java.xml b/talend_component/tFileExcelReferencedCellInput/tFileExcelReferencedCellInput_java.xml
index 9263b21..dc28ffe 100644
--- a/talend_component/tFileExcelReferencedCellInput/tFileExcelReferencedCellInput_java.xml
+++ b/talend_component/tFileExcelReferencedCellInput/tFileExcelReferencedCellInput_java.xml
@@ -1,7 +1,7 @@
-
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelReferencedCellOutput/tFileExcelReferencedCellOutput_java.xml b/talend_component/tFileExcelReferencedCellOutput/tFileExcelReferencedCellOutput_java.xml
index 0b9bb9e..ab16d03 100644
--- a/talend_component/tFileExcelReferencedCellOutput/tFileExcelReferencedCellOutput_java.xml
+++ b/talend_component/tFileExcelReferencedCellOutput/tFileExcelReferencedCellOutput_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -40,8 +40,8 @@
false
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelSheetInput/tFileExcelSheetInput_java.xml b/talend_component/tFileExcelSheetInput/tFileExcelSheetInput_java.xml
index f03aa9f..d8598df 100644
--- a/talend_component/tFileExcelSheetInput/tFileExcelSheetInput_java.xml
+++ b/talend_component/tFileExcelSheetInput/tFileExcelSheetInput_java.xml
@@ -1,7 +1,7 @@
-
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelSheetInputUnpivot/tFileExcelSheetInputUnpivot_java.xml b/talend_component/tFileExcelSheetInputUnpivot/tFileExcelSheetInputUnpivot_java.xml
index bbec2c9..2448179 100644
--- a/talend_component/tFileExcelSheetInputUnpivot/tFileExcelSheetInputUnpivot_java.xml
+++ b/talend_component/tFileExcelSheetInputUnpivot/tFileExcelSheetInputUnpivot_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -41,8 +41,8 @@
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelSheetList/tFileExcelSheetList_java.xml b/talend_component/tFileExcelSheetList/tFileExcelSheetList_java.xml
index f8b12c1..341302c 100644
--- a/talend_component/tFileExcelSheetList/tFileExcelSheetList_java.xml
+++ b/talend_component/tFileExcelSheetList/tFileExcelSheetList_java.xml
@@ -1,7 +1,7 @@
-
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelSheetOutput/tFileExcelSheetOutput_java.xml b/talend_component/tFileExcelSheetOutput/tFileExcelSheetOutput_java.xml
index d55c967..7a4ffee 100644
--- a/talend_component/tFileExcelSheetOutput/tFileExcelSheetOutput_java.xml
+++ b/talend_component/tFileExcelSheetOutput/tFileExcelSheetOutput_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -111,8 +111,8 @@
false
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
diff --git a/talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.4.jar b/talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.5.jar
similarity index 81%
rename from talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.4.jar
rename to talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.5.jar
index 105dbce..ce4cf57 100644
Binary files a/talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.4.jar and b/talend_component/tFileExcelWorkbookOpen/jlo-talendcomp-excel-13.5.jar differ
diff --git a/talend_component/tFileExcelWorkbookOpen/tFileExcelWorkbookOpen_java.xml b/talend_component/tFileExcelWorkbookOpen/tFileExcelWorkbookOpen_java.xml
index 934ae14..f6a56e3 100644
--- a/talend_component/tFileExcelWorkbookOpen/tFileExcelWorkbookOpen_java.xml
+++ b/talend_component/tFileExcelWorkbookOpen/tFileExcelWorkbookOpen_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -68,13 +68,13 @@
0.005d
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523
-
+
diff --git a/talend_component/tFileExcelWorkbookSave/tFileExcelWorkbookSave_java.xml b/talend_component/tFileExcelWorkbookSave/tFileExcelWorkbookSave_java.xml
index 00d9634..4aa6f65 100644
--- a/talend_component/tFileExcelWorkbookSave/tFileExcelWorkbookSave_java.xml
+++ b/talend_component/tFileExcelWorkbookSave/tFileExcelWorkbookSave_java.xml
@@ -1,7 +1,7 @@
-
+
@@ -50,8 +50,8 @@
false
-
- Release: 13.4 build at: 20211217
+
+ Release: 13.5 build at: 20220523