Adding NPE check in Translation Service Impl

1. Needs to Add NPE check while adding objects to cache
2. When objects are pulled from cache, causes NPE some times because of null objects present in cache