I’tm trying to add a simple HATEOAS link, using Spring HATEOAS, in my Kotlin application. But for some reason I’m getting NullPointerException and I really don’t know why.
This is the method that add a link:
I really don’t understand what’s wrong. Is it a Spring Hateoas bug?