Thanks for the response, Mark. I looked into the layer in question "gw_recharge" and it does have a default style set ("gw_recharge_keep"). This was done using the web interface. Is there a more authoritative or sure-fire way that I should be using to check if this layer is missing a default style?
On Sat, Nov 28, 2020 at 8:43 AM mark <mc.pr...@gmail.com> wrote: > 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 > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Kris Johnson Research Scientist Natural Resources Research Institute -------------------- GIS Instructor Department of Geography, Urban and Environmental Sustainability Studies University of Minnesota - Duluth 324 Cina Hall Duluth, MN 55812 218-726-6226 Zoom meeting link: https://umn.zoom.us/j/7057588425
_______________________________________________ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users