2011/8/17 Håvard Wahl Kongsgård <[email protected]>:
> Hi, I have a problem with SLD layouts generated with AtlasStyler. When
> I preview the layers in geoserver, I get this error
>
> code="internalError"Rendering process failed java.io.IOException null
> Unable to evaulate class
> org.geotools.feature.type.AttributeDescriptorImpl in a numeric
> context.

The error means the there is some non numeric attribute (or numeric,
but with null values) used in some place where a number is expected.
It's difficult to say where, the style is very long, but I see for example
division operations that would expect numerics.

That said, the style looks really odd, there is a number of these:

  <ogc:PropertyIsEqualTo>
               <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal>
               <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal>
             </ogc:PropertyIsEqualTo>
             <ogc:And>
               <ogc:Not>
                 <ogc:And>
                   <ogc:PropertyIsEqualTo>
                     <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal>
                     <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal>
                   </ogc:PropertyIsEqualTo>

that do not make sense... A = A is always true, those comparisons are useless
extras

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

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

-------------------------------------------------------

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to