Handle NPE on wms AbstractParser