Tried to use a yaml configuration file with an item missing the "period" field. This resulted in the following exception.
java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke "com.fasterxml.jackson.databind.JsonNode.asLong()" because the return value of "com.fasterxml.jackson.databind.JsonNode.get(String)" is null
Should either use a default period value, or throw a more informative exception, since reading the yaml is not always intuitive or obvious what is missing.
Tried to use a yaml configuration file with an item missing the "period" field. This resulted in the following exception.
Should either use a default period value, or throw a more informative exception, since reading the yaml is not always intuitive or obvious what is missing.