Description
Sometimes a SelectModel has a disabled "select an option..."-option (or just a breaking line) which is mapped to null.
When this is used with the EnumValueEncoder, toClient(E value) throws a NPE.
A simple null check solves this problem. (see patch)