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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to