Fixed a NPE, will print the debug information if there is any connectivity error to the ehcache extension