[Geoserver-devel] [jira] Created: (GEOS-338) Problem during SVG generation

Problem during SVG generation
-----------------------------

         Key: GEOS-338
         URL: http://jira.codehaus.org/browse/GEOS-338
     Project: GeoServer
        Type: Bug
    Versions: 1.3.0-beta3
Environment: GNU/Linux Ubuntu Hoary - Java 1.5 - Tomcat 5.5.9
    Reporter: Adrien Anselme
Assigned to: Chris Holmes
Attachments: dj.xml, dj.xsd

PNG generation works well for the attached file, but SVG raises the following exception :

<ServiceExceptionReport version="1.1.1">
  <ServiceException code="">
java.io.IOException: UNCAUGHT exception: No SVG Feature writer defined for class com.vividsolutions.jts.geom.Geometry
  at org.vfny.geoserver.wms.responses.map.svg.SVGWriter.setGeometryType(SVGWriter.java:157)
  at org.vfny.geoserver.wms.responses.map.svg.SVGWriter.writeFeatures(SVGWriter.java:290)
  at org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.writeLayers(EncodeSVG.java:226)
  at org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.encode(EncodeSVG.java:93)
  at org.vfny.geoserver.wms.responses.map.SVGMapProducer.writeTo(SVGMapProducer.java:97)
  at org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:188)
  at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:465)
  at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:247)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse(WmsDispatcher.java:146)
  at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet(WmsDispatcher.java:106)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  at java.lang.Thread.run(Thread.java:595)
</ServiceException>
</ServiceExceptionReport>

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira