You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/12/18 18:29:52 UTC
[maven-compiler-plugin] 01/01: MCOMPILER-359: Fix for NPE
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MCOMPILER-359
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
commit 660dd6b200da78a2393ea6a6771536f316f1d515
Author: Jörg Hohwiller <ho...@users.noreply.github.com>
AuthorDate: Tue Dec 17 19:05:57 2019 +0100
MCOMPILER-359: Fix for NPE
---
src/main/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 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 @@ public class TestCompilerMojo
for ( Entry<String, Exception> pathException : result.getPathExceptions().entrySet() )
{
- Throwable cause = pathException.getValue().getCause();
+ Throwable cause = pathException.getValue();
while ( cause.getCause() != null )
{
cause = cause.getCause();