Added catch nullpointer for config, when not found uses default
properties.