You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/29 14:29:52 UTC

[GitHub] [skywalking] mm23504570 commented on issue #6648: NullPointerException with nonexistent Header when call "ReactiveRequestHolder.getHeaders"

mm23504570 commented on issue #6648:
URL: https://github.com/apache/skywalking/issues/6648#issuecomment-809426231


   I configed SpringMVCPluginConfig.Plugin.Http.INCLUDE_HTTP_HEADERS to collect header use WebFlex. 
   If Headers does not exist in ServerHttpRequest cause `Collections.enumeration` throw NullPointerException. Because `Collections.enumeration` need not null param.
   
   https://github.com/apache/skywalking/blob/7c69ea889ee7a24c0049ffface3a04409b415af4/apm-sniffer/apm-sdk-plugin/spring-plugins/mvc-annotation-commons/src/main/java/org/apache/skywalking/apm/plugin/spring/mvc/commons/interceptor/AbstractMethodInterceptor.java#L225


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