diff --git a/dev/com.ibm.ws.install/src/com/ibm/ws/install/maven/MavenDirectoryInstall.java b/dev/com.ibm.ws.install/src/com/ibm/ws/install/maven/MavenDirectoryInstall.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.install/src/com/ibm/ws/install/maven/MavenDirectoryInstall.java
+++ b/dev/com.ibm.ws.install/src/com/ibm/ws/install/maven/MavenDirectoryInstall.java
@@ -50,8 +50,8 @@ public class MavenDirectoryInstall {
 
         logger.log(Level.FINE, "The features to install from maven central are:" + featuresToInstall);
 
-        List<File> jsonPaths = getJsonsFromMavenCentral();
         map = new InstallKernelMap();
+        List<File> jsonPaths = getJsonsFromMavenCentral();
         initializeMap(featuresToInstall, jsonPaths);
     }
Fix nullpoiinter exception caused by not initializing map