eb-6981: fixing compilation errors in AutocompleteCacheUtil

cleaned up error handling, throw early / catch late
added additional defensive checks for transaction rollback / commit
Merge remote-tracking branch 'upstream/prodsupport' into prodsupport