Can somebody help me with this error, it throws it when rendering an object and styling it with use of a buffer (sld style, wkt string). So I suppose that some problem is with buffering but was unable to figure out what is happening to solve it. Buffer values are mostly between -5 and -0.3. Example from sld file is bellow. Is it posible to this happens because of small values of the "Slope""Nagib"?
<Rule>
<Name>Public building</Name>
<Title>g</Title>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>THEME_ID</ogc:PropertyName>
<ogc:Literal>729</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<PolygonSymbolizer>
<Geometry>
<ogc:Function name="buffer">
<ogc:PropertyName>the_geom</ogc:PropertyName>
<ogc:PropertyName>Buffer</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Fill>
<GraphicFill>
<Graphic>
<Mark>
<WellKnownName>wkt://LINESTRING(0 0, ${sin(SlopeNagib - 45) * 20000} ${cos(SlopeNagib - 45) * 20000} )</WellKnownName>
<Stroke>
<CssParameter name="stroke">
<ogc:PropertyName>COLOR</ogc:PropertyName>
</CssParameter>
<CssParameter name="stroke-width">2.5</CssParameter>
</Stroke>
</Mark>
</Graphic>
</GraphicFill>
</Fill>
</PolygonSymbolizer>
<LineSymbolizer>
<Stroke>
<CssParameter name="stroke">
<ogc:PropertyName>COLOR</ogc:PropertyName>
</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>