You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2026/03/08 19:04:08 UTC

(poi) branch trunk updated: Update StressMap.java

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 32a2220d12 Update StressMap.java
32a2220d12 is described below

commit 32a2220d127f52ed3fc2915c317ae6c0d50d1548
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Mar 8 20:03:54 2026 +0100

    Update StressMap.java
---
 poi-integration/src/test/java/org/apache/poi/stress/StressMap.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 568d8c5e1d..234eb0f8c4 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
@@ -138,7 +138,9 @@ public class StressMap {
                             info.setExMessage(exMessage);
                         }
                         final boolean ignore =
-                                SCRATCH_IGNORE && SCRATCH_HANDLER.matcher(info.getHandler()).find();
+                                SCRATCH_IGNORE &&
+                                        info.getHandler() != null &&
+                                        SCRATCH_HANDLER.matcher(info.getHandler()).find();
                         if (!ignore) {
                             exMap.put(file, info);
                         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org