Initializer is invoked by causes a NPE