aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration
diff options
context:
space:
mode:
Diffstat (limited to 'poi-integration')
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/StressMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/StressMap.java b/poi-integration/src/test/java/org/apache/poi/stress/StressMap.java
index 12c6afe21f..31bc78dbb4 100644
--- a/poi-integration/src/test/java/org/apache/poi/stress/StressMap.java
+++ b/poi-integration/src/test/java/org/apache/poi/stress/StressMap.java
@@ -119,7 +119,7 @@ public class StressMap {
Row row = iter.next();
if (SCRATCH_IGNORE && handlerIdx > -1) {
- String handler = row.getCell(handlerIdx).getStringCellValue();
+ String handler = row.getCell(handlerIdx) == null ? "" : row.getCell(handlerIdx).getStringCellValue();
if (SCRATCH_HANDLER.matcher(handler).find()) {
// ignore exception of ignored files
continue;