aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2018-08-02 14:51:19 -0400
committerFred Bricon2018-08-02 14:51:19 -0400
commitf8c90472e4b3d3bdfed01f3adfd040e08c3a3ab1 (patch)
treef530ba26fff4ba3f603939203dd8b1e5433acf4f
parentab8b456c662aba8cecaaa27d5d1dc7a23a86cbb8 (diff)
downloadm2e-core-f8c90472e4b3d3bdfed01f3adfd040e08c3a3ab1.tar.gz
m2e-core-f8c90472e4b3d3bdfed01f3adfd040e08c3a3ab1.tar.xz
m2e-core-f8c90472e4b3d3bdfed01f3adfd040e08c3a3ab1.zip
536056 : additionnal Null check in MavenClassifierManagerHEADmaster
Change-Id: Id7b5fd2e0dc535d5d0a09cdd07c28e1743b0c440 Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClassifierManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClassifierManager.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClassifierManager.java
index 3053ad7a..a7b8b41c 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClassifierManager.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClassifierManager.java
@@ -133,7 +133,7 @@ public class MavenClassifierManager implements IMavenClassifierManager {
return new WorkspaceClassifierResolverDelegatingProvider(projectRelativePath);
}
log.error("Project {} classifier {} resolved to wrong project at {}", project.getProject().getName(), classifier,
- res.toString());
+ res == null ? resolvedPath : res.toString());
}
return NO_OP_CLASSIFIER_CLASSPATH_PROVIDER;