Your KeyService
is calling some Spring Data JPA repository with a method findKeyByKeyString()
method. That method is causing Spring Data JPA to explode because some query parameter is missing.
Put a conditional breakpoint on org.springframework.data.jpa.repository.query.StringQuery.getBindingFor(StringQuery.java:104)
that matches if !StringUtils.hasText(name)
to see what's going on, or review the findKeyByKeyString()
method.