This should in fact never be null right? I'd suggest an assertion error instead on startup to ensure this.