zrlw removed a comment on pull request #9284:
URL: https://github.com/apache/dubbo/pull/9284#issuecomment-972545095


   there are many RpcContext.getServiceContext().getConsumerUrl().getXXX calls 
in InstanceAddressURL methods, it might cause problem because the lifecyle of 
InstanceAddressURL and RpcContext are different.
   when scope model is destroying, the thread local SERVICE_CONTEXT of 
RpcContext will be removed first, the InstanceAddressURL methods which use 
RpcContext.getServiceContext().getConsumerUrl() will throw NPE.


-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to