You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "frank780117 (GitHub)" <gi...@apache.org> on 2020/05/05 11:15:38 UTC

[GitHub] [dubbo-spring-boot-project] frank780117 opened issue #704: dubboreferences Endpoints fail

如果一個應用程序有 reference 自己的 dubbo service (本地的 consumer 使用本地的 provider) , 再用 dubboreferences Enpoint 會拋出 NPE, 因為 consumerConfig == null

Caused by: java.lang.reflect.InvocationTargetException: null
	at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.dubbo.spring.boot.actuate.endpoint.metadata.AbstractDubboMetadata.resolveBeanMetadata(AbstractDubboMetadata.java:94)
	... 58 common frames omitted
Caused by: java.lang.NullPointerException: null
	at org.apache.dubbo.config.ReferenceConfigBase.getUniqueServiceName(ReferenceConfigBase.java:271)


[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/704 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org