geosolutions-it / mapfish-print

A component of http://www.mapfish.org for printing templated cartographic maps. This module is the java serverside module. It works well with the mapfish print javascript module.
http://www.mapfish.org/doc/print/
GNU General Public License v3.0
3 stars 9 forks source link

NullPointerException on empty config sections #20

Open helgenlechner opened 10 years ago

helgenlechner commented 10 years ago

See http://sourceforge.net/p/geoserver/mailman/message/32452487/

A NullPointerException is generated when the config.yaml contains an empty section (e.g. a !legends block without any further configuration -- see http://pastebin.com/iw4AJtnF), even though it is a valid YAML file.

GeoServer version 2.5.1, plugin version print-lib-2.0-SNAPSHOT-20140410