I have a feature with the attached style. I don't see any problems until I try to export the feature to google earth. Then I see the following errors in geoserver. I debugged the issue and it turns out I don't have a Label tag under the TextSymbolizer element in the SLD. The documentation states the Label element isn't required. Is that not the case in google earth?
>From the code: org.geoserver.kml.decorator.PlacemarkNameDecoratorFactory.java:64 calls org.geotools.styling.SLD line 1171 which returns a null: Symbolizer = <TextSymbolizerImp property=posit_geom label=null>null >From the logs: 22:28:57,754 ERROR [org.geoserver.ows] (http-/0.0.0.0:8443-6) : java.lang.NullPointerException at org.geoserver.kml.decorator.PlacemarkNameDecoratorFactory$PlacemarkNameDecorator.decorate(PlacemarkNameDecoratorFactory.java:64) [gs-kml-2.7.2.jar:2.7.2] at org.geoserver.kml.sequence.FeatureSequenceFactory$FeatureGenerator.next(FeatureSequenceFactory.java:121) [gs-kml-2.7.2.jar:2.7.2] at org.geoserver.kml.sequence.FeatureSequenceFactory$FeatureGenerator.next(FeatureSequenceFactory.java:80) [gs-kml-2.7.2.jar:2.7.2] at org.geoserver.kml.sequence.SequenceList$GeneratorIterator.<init>(SequenceList.java:29) [gs-kml-2.7.2.jar:2.7.2] at org.geoserver.kml.sequence.SequenceList.iterator(SequenceList.java:63) [gs-kml-2.7.2.jar:2.7.2] geoserver url from google earth: http://localhost/geoserver/wms?crs=CRS:84&time=2015-12-24T00:00:00.000Z&height=1024&bbox=-163.2354539790473,15.57941628804031,-147.6617927872543,27.65836991454673&layers=tracks:pimTrack-indicator5&width=1024&request=GetMap&service=WMS&styles=&format_options=SUPEROVERLAY:false;KMPLACEMARK:false;KMSCORE:40;KMATTR:true;&format=application/vnd.google-earth.kmz&transparent=false&version=1.3.0 Dominique Bessette
gis_pim_posit.sld
Description: gis_pim_posit.sld
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users