Get NPE reading null object field when deserializing using Jackson [closed] Actually this works fine with Jackson. The NPE is thrown by my own constructor.