Hibernate Validator specific @NotEmpty used on return type throws an exception

Description

When using `@NotEmpty` annotation on return type I'm getting following error:

It was discussed here

As a workaround it is possible to implement custom validator as with this commit

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Lukáš Vasek

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure