From 8ef296b291e7ef1e1e4ab4fa4b520a80bde48a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Tue, 17 Dec 2019 19:05:57 +0100 Subject: [PATCH 2/2] MCOMPILER-359: Fix for NPE --- .../java/org/apache/maven/plugin/compiler/TestCompilerMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java index f8b9ba1..203dd07 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java @@ -250,7 +250,7 @@ public class TestCompilerMojo for ( Entry pathException : result.getPathExceptions().entrySet() ) { - Throwable cause = pathException.getValue().getCause(); + Throwable cause = pathException.getValue(); while ( cause.getCause() != null ) { cause = cause.getCause(); -- 2.26.2