diff --git a/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java b/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java index 842b6ab8de..ad92dee18c 100644 --- a/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java +++ b/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java @@ -233,6 +233,11 @@ public abstract class AbstractJmsClientSystem extends AbstractObjectProperties { protected static Properties parseStringArgs(String[] args) { File configFile = null; Properties props = new Properties(); + + if (args == null || args.length == 0) { + return props; // Empty properties + } + for (int i=0; i