From 47e01b8dc3b41ef1e56de14d15672aaab43364c9 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 11 May 2015 15:52:58 +0200 Subject: [PATCH 1/3] Fix NPE in DefaultResolver --- .../main/java/org/fedoraproject/xmvn/resolver/impl/DefaultResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmvn-core/src/main/java/org/fedoraproject/xmvn/resolver/impl/DefaultResolver.java b/xmvn-core/src/main/java/org/fedoraproject/xmvn/resolver/impl/DefaultResolver.java index fdf79cf..6c0caf6 100644 --- a/xmvn-core/src/main/java/org/fedoraproject/xmvn/resolver/impl/DefaultResolver.java +++ b/xmvn-core/src/main/java/org/fedoraproject/xmvn/resolver/impl/DefaultResolver.java @@ -144,7 +144,7 @@ public class DefaultResolver catch ( IOException e ) { logger.warn( "Failed to generate effective POM", e ); - metadata = null; + return new DefaultResolutionResult(); } } -- 2.1.0