Issue Type: Bug Bug
Affects Versions: 2.3.1
Assignee: Andrea Aime
Created: 10/May/13 7:26 AM
Description:

I have a simple style. I've given it the GeoServer name of "point A&E hospital" (this is in GeoServer, not the SLD). GeoServer won't render it giving the below error. If I rename the style to "point AandE hospital" it works fine.

2013-05-10 13:23:43,980 WARN [geoserver.monitor] - Error handling request object
java.lang.NullPointerException
at org.geoserver.monitor.ows.wms.GetLegendGraphicHandler.getLayers(GetLegendGraphicHandler.java:27)
at org.geoserver.monitor.ows.RequestObjectHandler.handle(RequestObjectHandler.java:48)
at org.geoserver.monitor.ows.MonitorCallback.operationDispatched(MonitorCallback.java:93)
at org.geoserver.ows.Dispatcher.fireOperationDispatchedCallback(Dispatcher.java:729)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:724)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)

....

2013-05-10 13:23:43,995 ERROR [geoserver.ows] -
java.lang.NullPointerException: request.getStyle()
at org.geoserver.wms.legendgraphic.BufferedImageLegendGraphicBuilder.buildLegendGraphic(BufferedImageLegendGraphicBuilder.java:204)
at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produceLegendGraphic(PNGLegendOutputFormat.java:40)
at org.geoserver.wms.legendgraphic.PNGLegendOutputFormat.produceLegendGraphic(PNGLegendOutputFormat.java:21)
at org.geoserver.wms.GetLegendGraphic.run(GetLegendGraphic.java:48)
at org.geoserver.wms.DefaultWebMapService.getLegendGraphic(DefaultWebMapService.java:385)
at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
....

Project: GeoServer
Priority: Minor Minor
Reporter: Jonathan Moules
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to