Check for null `requestMapping` (or make `HttpRequestHandlingEndpointSupport.getRequestMapping()` final).