* Fixing NPE in initing the cache for factorial