On 11/25/20 9:03 PM, Kris Johnson via Geoserver-users wrote:
Here is what is reported by the "Caused by:"
Caused by: java.lang.NullPointerException
at
org.geoserver.wms.map.GetMapKvpRequestReader.getDefaultStyle(GetMapKvpRequestReader.java:807)
at
org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:537)
at
org.geoserver.wms.featureinfo.GetFeatureInfoKvpReader.read(GetFeatureInfoKvpReader.java:119)
... 107 more
that's pointing to this code:
} else {
StyleInfo defaultStyle = layer.getDefaultStyle();
return defaultStyle.getStyle();
}
suggesting that the defaultStyle is null
https://github.com/geoserver/geoserver/blob/4ae09f630edf507a76b24a63840bd503d5a6742b/src/wms/src/main/java/org/geoserver/wms/map/GetMapKvpRequestReader.java#L805-L808
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users