diff --git a/web-tester/src/main/java/com/axonivy/ivy/webtest/IvyTestRuntimeProps.java b/web-tester/src/main/java/com/axonivy/ivy/webtest/IvyTestRuntimeProps.java index df36504..93dabb8 100644 --- a/web-tester/src/main/java/com/axonivy/ivy/webtest/IvyTestRuntimeProps.java +++ b/web-tester/src/main/java/com/axonivy/ivy/webtest/IvyTestRuntimeProps.java @@ -20,7 +20,9 @@ public static Properties loadProps() { var props = new Properties(); ClassLoader loader = IvyWebTestExtension.class.getClassLoader(); try(var in = loader.getResourceAsStream(RT_PROPS)) { - props.load(in); + if (in != null) { + props.load(in); + } } catch (Exception ex) { System.err.println("Failed to read properties " + RT_PROPS); ex.printStackTrace();