HRCPP-109 Simple.cpp segfaults on CI

Log a message and throw an exception instead of segfaulting when the value returned from the cache is a null pointer.