commit | a2073c40ace7d96198a9cdf7569118dd435c6e2b | [log] [tgz] |
---|---|---|
author | Jörg Hohwiller <hohwille@users.noreply.github.com> | Tue Dec 17 19:05:57 2019 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 17 19:05:57 2019 +0100 |
tree | 05385808e39f73551487d9f9a1581f583d358f59 | |
parent | 1455594a943791fa14f7a733dbcf48b648100a8d [diff] |
MCOMPILER-359: Fix for NPE
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 7b3caba..f6c1d5b 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/TestCompilerMojo.java
@@ -248,7 +248,7 @@ for ( Entry<String, Exception> pathException : result.getPathExceptions().entrySet() ) { - Throwable cause = pathException.getValue().getCause(); + Throwable cause = pathException.getValue(); while ( cause.getCause() != null ) { cause = cause.getCause();