See GH-33699, Continue c261ca3102414053677c40cf17f4b70b28b4b170

Map has no value for 'thescheme'
java.lang.IllegalArgumentException: Map has no value for 'thescheme'
    at org.springframework.web.util.UriComponents$MapTemplateVariables.getValue(UriComponents.java:348)
    at org.springframework.web.util.UriComponents.expandUriComponent(UriComponents.java:263)
    at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:436)
    at org.springframework.web.util.HierarchicalUriComponents.expandInternal(HierarchicalUriComponents.java:53)
    at org.springframework.web.util.UriComponents.expand(UriComponents.java:161)
    at org.springframework.web.util.UriComponentsBuilder.buildAndExpand(UriComponentsBuilder.java:364)

Comment From: quaff

cc @rstoyanchev

Comment From: rstoyanchev

Thanks for taking a look. I'm curious if you actually have a case with a scheme that is part literal and part variable?

Comment From: quaff

Thanks for taking a look. I'm curious if you actually have a case with a scheme that is part literal and part variable?

No, I found it by code review.

Comment From: rstoyanchev

This is now merged. Please, note we don't change the author tag for a trivial change.