- Fixing the exception handler to get the right bean manager;