Resolves #233 Happens when HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTES is null Can be seen when using spring-boot-starter-actuator with a scanned function The path is null because the request wrapped by the WebMvcMetricsFilter is unmodifiable, so setting the attribute in AbstractHandlerMethodMapping#handleMatch has no effect