targetEntity is marked as required, it should be not possible to have here Runtime exception.