Fix potential NPE in CtxAccessController.obfuscate method