Test for #1793: NPE in the meta-model for static nested classes