You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "ZangjunS (via GitHub)" <gi...@apache.org> on 2023/04/23 02:11:04 UTC

[GitHub] [servicecomb-java-chassis] ZangjunS commented on issue #3752: 某个服务无法调用其他服务

ZangjunS commented on issue #3752:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3752#issuecomment-1518920328

   > 另外一个我们好像没有2.3.63这个版本啊
   
   2.3.63是 cse-solution-service-engine的版本
   
   调用方式就是很简单的
   RestTemplate restTemplate = RestTemplateBuilder.create();
   restTemplate.getForObject(url, String.class);
   其他服务都能正常访问其他服务,但是有一个服务就会出现上述报错,他确实是报了个空指针
   代码如下:
   Response result = (Response)operation.getResponses().get(SwaggerConst.SUCCESS_KEY);
   JavaType resultJavaType = (JavaType)this.swaggerObjectMap.get(result.getSchema());
   
   resultJavaType 确实是null,但是swaggerObjectMap里为什么没有的呢,而且别的程序都不会进入这个断点,是哪里出问题了吗


-- 
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: commits-unsubscribe@servicecomb.apache.org

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