if (endpointInject != null) { try { injectField(field, endpointInject.uri(), endpointInject.ref(), endpointInject.property(), endpointInject.context(), bean, beanName); } catch (Exception cause) { throw new InjectionException("Injection of [" + endpointInject + "] for field [" + field + "] failed!", cause); if (produce != null) { try { injectField(field, produce.uri(), produce.ref(), produce.property(), produce.context(), bean, beanName); } catch (Exception cause) { throw new InjectionException("Injection of [" + produce + "] for field [" + field + "] failed!", cause);