[Geoserver-devel] SLD configuration : Unable to find function strConcat - Geoserver RC2

Hi all…

I’m currently using Geoserver RC2 build and I’m getting the exception show bellow in a random behavior.

Meaning that, sometimes it happens, sometimes it doesn’t … it’s weird…

I’m using the function “strConcat” in my SLD file as depicted:

<ogc:Function name=“strConcat”>

<ogc:Function name=“parseInt”>

ogc:PropertyNameWHATEVER_COL

</ogc:PropertyName>

</ogc:Function>

ogc:Literal%</ogc:Literal>

</ogc:Function>

It seems that sometimes the library is not fully loaded and the function is not found?

Perhaps you have a suggestion to replace the strConcat function or the solution for my problem? J

2011-03-03 12:00:38,543 ERROR [geoserver.ows] -

java.lang.RuntimeException: Unable to find function strConcat

at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:103)

at org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:69)

at org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:469)

at org.geotools.renderer.style.ExpressionExtractor.catenateExpressions(ExpressionExtractor.java:148)

at org.geotools.renderer.style.ExpressionExtractor.extractCqlExpressions(ExpressionExtractor.java:155)

at org.geotools.styling.StyleAttributeExtractor.visitCqlExpression(StyleAttributeExtractor.java:380)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:367)

at org.geotools.styling.MarkImpl.accept(MarkImpl.java:204)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:325)

at org.geotools.styling.GraphicImpl.accept(GraphicImpl.java:367)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:212)

at org.geotools.styling.PointSymbolizerImpl.accept(PointSymbolizerImpl.java:91)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:82)

at org.geotools.styling.RuleImpl.accept(RuleImpl.java:309)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:100)

at org.geotools.styling.FeatureTypeStyleImpl.accept(FeatureTypeStyleImpl.java:235)

at org.geotools.styling.StyleAttributeExtractor.visit(StyleAttributeExtractor.java:63)

at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1034)

at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:383)

at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:74)

at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1164)

at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:502)

at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:238)

at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)

Thanks to all,

Jose Vieira