How does Jester interact with the Knights?
The Golden Rule of Dominion is "do as much as you can".

If no copies of a card exist (e.g. because they've all been trashed) then no card is given out by a Jester.

Since Knights are unique cards, no-one gains anything when a Jester reveals one.