chenziqiang666 opened a new pull request, #10306:
URL: https://github.com/apache/dubbo/pull/10306

   fix for java.lang.NullPointerException
   
   底层调用方法:
   org.apache.dubbo.metadata.MetadataInfo#getValidServiceInfo 
   
   调用方:
   org.apache.dubbo.registry.client.InstanceAddressURL#getServiceInfo
   org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory#urlChanged
   
   问题原因:底层调用方法会返回null,调用方没有判空,导致有可能造成空指针
   解决方式:调用方增加判空逻辑
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to