You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/06/24 07:17:45 UTC

[GitHub] [servicecomb-java-chassis] IcyZhang commented on issue #2430: CSE从2.0.2升级到2.1.5,产品基于CSE的EventBus机制显示的接口日志打印问题。

IcyZhang commented on issue #2430:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2430#issuecomment-867401375


   断点找到原因了。
   response.getHeaders()  之前cse的版本,返回的是一个对象,然后我们再调用getFirst方法,这些都是有非空保证的。
   但是升级2.1.5后,response.getHeaders() 返回的是MultiMap headers,这个存在null的情况。我们再去get()就空指针了
   ![image](https://user-images.githubusercontent.com/21097832/123219245-44be4000-d4ff-11eb-9ab4-8e72c1487475.png)
   
   
   
   
   


-- 
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.

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