GeoTools

MapContent layer list retainAll method fails