On Fri, Jun 15, 2012 at 9:28 AM, Lucas Heezen - Covadis
<hee...@covadis.nl>wrote:

>  Hello,****
>
> ** **
>
> We have the next situation. An SLD is loaded into geoserver with a
> textSymbolizer with a labelplacement like this:****
>
> ** **
>
> <LabelPlacement>              ****
>
>  <PointPlacement>****
>
>  <Displacement>****
>
>    <DisplacementX>-5</DisplacementX>****
>
>    <DisplacementY>0</DisplacementY>****
>
>   </Displacement>                                ****
>
>   <Rotation>****
>
>    <ogc:PropertyName>richting_cw</ogc:PropertyName>****
>
>   </Rotation>****
>
> </PointPlacement>****
>
> </LabelPlacement>****
>
> ** **
>
> When we load the SLD with REST we get no content from the SLD, file is
> empty.****
>
> When we replace the Displacement with this:****
>
> ** **
>
> ** **
>
> <AnchorPoint>****
>
>   <AnchorPointX>-50</AnchorPointX>****
>
>  <AnchorPointY>2</AnchorPointY>****
>
> </AnchorPoint>                ****
>
> ** **
>
> Everything works fine.****
>
> ** **
>
> This is what the geoserver log says:****
>
> ** **
>
> 2012-06-15 09:18:26,197 ERROR [geoserver.rest] - Exception intercepted****
>
> java.io.IOException****
>
>                 at
> org.geoserver.catalog.rest.SLDFormat.write(SLDFormat.java:57)****
>
>                 at
> org.geoserver.rest.format.StreamDataFormat$1.write(StreamDataFormat.java:48)
> ****
>
>                 at
> com.noelios.restlet.http.HttpServerCall.writeResponseBody(HttpServerCall.java:342)
> ****
>
>                 at
> com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:306)
> ****
>
>                 at
> com.noelios.restlet.ext.servlet.ServletCall.sendResponse(ServletCall.java:306)
> ****
>
>                 at
> org.geoserver.rest.GeoServerServletConverter.commit(GeoServerServletConverter.java:53)
> ****
>
>                 at
> com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:130)
> ****
>
>                 at
> org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86)
> ****
>
>                 at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> ****
>
>                 at****
>
> **
>

Please provide a full style for reproducing, and a full exception trace,
the above cuts out the part that
tells where the actual issue is (in java strack traces it's always at the
bottom of the trace).
Attach everything to a report in jira. Patches to fix the issue appreciated

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to