when creating a style with an underscore in its name (_), nee_scale for example, the style is not working with legendMap (no image is returned)
log is :
13 oct. 10:13:01 INFO [geoserver.wms] -
Request: getServiceInfo
13 oct. 10:13:01 INFO [geoserver.wms] -
Request: getServiceInfo
13 oct. 10:13:01 ERROR [geoserver.ows] -
java.lang.NullPointerException: request.getStyle()
at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBuilder.buildLegendGraphic(BufferedImageLegendGraphicBuilder.java:207)
at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produceLegendGraphic(PNGLegendOutputFormat.java:41)
at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produceLegendGraphic(PNGLegendOutputFormat.java:22)
at org.geoserver.wms.GetLegendGraphic.run(GetLegendGraphic.java:49)
at org.geoserver.wms.DefaultWebMapService.getLegendGraphic(DefaultWebMapService.java:358)
at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
|