'uriTemplate' must not be null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web56

Stack trace

  • java.lang.IllegalArgumentException: 'uriTemplate' must not be null at org.springframework.util.Assert.hasText([spring-core-4.3.1.RELEASE.jar:4.3.1.RELEASE] at org.springframework.web.util.UriTemplate.<init>([spring-web-4.3.1.RELEASE.jar:4.3.1.RELEASE] at org.springframework.hateoas.mvc.ControllerLinkBuilderFactory.linkTo([spring-hateoas-0.20.0.RELEASE.jar:na] at org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo([spring-hateoas-0.20.0.RELEASE.jar:na]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
2 times, last one
12 more bugmates