Make sure the configObject is a object and not null.