TROIA-367 fix for NPE in CachedScheduler when no object could be found