diff --git a/build.gradle b/build.gradle index 9a08634..491d1df 100644 --- a/build.gradle +++ b/build.gradle @@ -51,5 +51,5 @@ publishing { } group 'mil.army.usace.hec' - version '0.0.46' + version '0.0.47' } diff --git a/src/main/java/usace/cc/plugin/Action.java b/src/main/java/usace/cc/plugin/Action.java index 243cb3f..5176902 100644 --- a/src/main/java/usace/cc/plugin/Action.java +++ b/src/main/java/usace/cc/plugin/Action.java @@ -21,8 +21,11 @@ public Map getParameters(){ return parameters; } public void UpdateActionPaths(){ - for(Map.Entry apb : parameters.entrySet()){ - parameters.replace(apb.getKey(),apb.getValue().UpdatePaths()); + if(parameters!=null){ + for(Map.Entry apb : parameters.entrySet()){ + parameters.replace(apb.getKey(),apb.getValue().UpdatePaths()); + } } + } } diff --git a/src/main/java/usace/cc/plugin/DataSource.java b/src/main/java/usace/cc/plugin/DataSource.java index 2e2f4d3..c3f8f65 100644 --- a/src/main/java/usace/cc/plugin/DataSource.java +++ b/src/main/java/usace/cc/plugin/DataSource.java @@ -29,15 +29,20 @@ public String getStoreName(){ public DataSource UpdatePaths(){ DataSource dest = this; PluginManager pm = PluginManager.getInstance(); - - for(int j=0; j