客户端设置dubbo.consumer.lazy=true时,所有的@Reference在启动时,不应该去检查是否为null了,这样就会导致lazy的配置不起作用。
org.springframework.beans.factory.config.BeanPostProcessor#postProcessBeforeInitialization的
if (dubboReference == null) { referenceBean.afterPropertiesSet(); // dubboReference should not be null, otherwise it will cause // NullPointerException dubboReference = referenceBean.getObject(); DubboConsumerAutoConfiguration.DUBBO_REFERENCES_MAP.put(classIdBean, dubboReference); }
期望早日修复
客户端设置dubbo.consumer.lazy=true时,所有的@Reference在启动时,不应该去检查是否为null了,这样就会导致lazy的配置不起作用。 org.springframework.beans.factory.config.BeanPostProcessor#postProcessBeforeInitialization的
if (dubboReference == null) { referenceBean.afterPropertiesSet(); // dubboReference should not be null, otherwise it will cause // NullPointerException dubboReference = referenceBean.getObject(); DubboConsumerAutoConfiguration.DUBBO_REFERENCES_MAP.put(classIdBean, dubboReference); }
期望早日修复