Prevent double usage of Reflection.getCallerClass in dB

When the cache returns null, the caller class should be reused.