This is not that big a deal as we should register it but we should have a proper error message, not a NPE.