fixing NPE in GeoDocConsumer