Hmm, this is kind of messed up. Is the server throwing any exceptions? I
have a feeling an exception is occurring during the encoding of the
placemark description ( which uses the template ). Because nothing after
the name is being written out from what i can tell, and the placemark
tag is never closed which is pretty messed up. Can you verify this,
there should be something in the log about a feature not being encoded
properly.
But this brings up a good bug. When loading a template fails some
cleanup needs to be performed in order to ensure that a valid document
is produced.
http://jira.codehaus.org/browse/GEOS-1153
-Justin
Michael Frumin wrote:
http://transit.frumin.net/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&SRS=EPSG:4326&STYLES=&TRANSPARENT=FALSE&UNIQUEID=&BBOX=-74.04730987548828,40.54514344465497,-73.70000457763672,40.91540495622394&WIDTH=400&HEIGHT=400&FORMAT=application/vnd.google-earth.kml+XML&KMATTR=TRUE&LAYERS=frumin:subway_stations
<http://transit.frumin.net/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&SRS=EPSG:4326&STYLES=&TRANSPARENT=FALSE&UNIQUEID=&BBOX=-74.04730987548828,40.54514344465497,-73.70000457763672,40.91540495622394&WIDTH=400&HEIGHT=400&FORMAT=application/vnd.google-earth.kml+XML&KMATTR=TRUE&LAYERS=frumin:subway_stations>
returns the ever-so-useful error when opened in google earth:
Open of file "C:\........" failed: Parse error at line 1, column
*/249382/*
mismatched tag
this happens on many of my layers when i do KMATTR=TRUE. it is
basically always griping at the end of the file.
thanks,
mike
!DSPAM:4007,4672e390141201030819293!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
!DSPAM:4007,4672e390141201030819293!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,4672e390141201030819293!
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
I am also experiencing a similar error (i.e. mismatched tag in returned KML).
Looking through the KML that is returned, it appears that the only tag
written within a <Placemark> is <name>, and all of rest of the placemark
information is not written out (including the closing </Placemark> tag).
A sample request and the resulting KML are listed below.
- Tyler
Request:
http://gisdev:8080/geoserver/wms?styles=&Format=kml&request=GetMap&layers=mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH&width=800&height=375&srs=EPSG:4326&bbox=-143.7,60.0,-143.2,60.2
Response:
<?xml version="1.0" encoding="UTF-8"?>
<kml>
<Document>
<name>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff0000ff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211]]></name>
</Document>
</kml>
Justin Deoliveira-4 wrote:
Hmm, this is kind of messed up. Is the server throwing any exceptions? I
have a feeling an exception is occurring during the encoding of the
placemark description ( which uses the template ). Because nothing after
the name is being written out from what i can tell, and the placemark
tag is never closed which is pretty messed up. Can you verify this,
there should be something in the log about a feature not being encoded
properly.
But this brings up a good bug. When loading a template fails some
cleanup needs to be performed in order to ensure that a valid document
is produced.
http://jira.codehaus.org/browse/GEOS-1153
-Justin
Michael Frumin wrote:
...
--
View this message in context: http://www.nabble.com/KMATTR%3DTRUE-generating-invalid-XML%2C-or-somethin'-tf3929759.html#a11220076
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Tyler,
Mike and I worked through this one and I just submitted a fix for it.
If you are interested in trying it out right away i can fire off a
nightly build for you, or you can wait until tommorrow and grab the one
that is generated tonight. Let me know.
-Justin
Tyler Erickson wrote:
I am also experiencing a similar error (i.e. mismatched tag in returned KML).
Looking through the KML that is returned, it appears that the only tag
written within a <Placemark> is <name>, and all of rest of the placemark
information is not written out (including the closing </Placemark> tag).
A sample request and the resulting KML are listed below.
- Tyler
Request:
http://gisdev:8080/geoserver/wms?styles=&Format=kml&request=GetMap&layers=mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH&width=800&height=375&srs=EPSG:4326&bbox=-143.7,60.0,-143.2,60.2
Response:
<?xml version="1.0" encoding="UTF-8"?>
<kml>
<Document>
<name>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff0000ff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211]]></name>
</Document>
</kml>
Justin Deoliveira-4 wrote:
Hmm, this is kind of messed up. Is the server throwing any exceptions? I
have a feeling an exception is occurring during the encoding of the
placemark description ( which uses the template ). Because nothing after
the name is being written out from what i can tell, and the placemark
tag is never closed which is pretty messed up. Can you verify this,
there should be something in the log about a feature not being encoded
properly.
But this brings up a good bug. When loading a template fails some
cleanup needs to be performed in order to ensure that a valid document
is produced.
http://jira.codehaus.org/browse/GEOS-1153
-Justin
Michael Frumin wrote:
...
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Justin,
The fix you submitted seems to have fixed the issue with closing the KML
tags, but the <placemark> tag does not contain a <description> tag with the
attributes (at least for the featuretype that was previously having the
problems with the unclosed KML tags).
This doesn't seem to affect all of the featuretypes that I have... others
generate KML as I would expect, with a placemark <description> tag.
- Tyler
Justin Deoliveira-4 wrote:
Hi Tyler,
Mike and I worked through this one and I just submitted a fix for it.
If you are interested in trying it out right away i can fire off a
nightly build for you, or you can wait until tommorrow and grab the one
that is generated tonight. Let me know.
-Justin
Tyler Erickson wrote:
I am also experiencing a similar error (i.e. mismatched tag in returned
KML).
Looking through the KML that is returned, it appears that the only tag
written within a <Placemark> is <name>, and all of rest of the placemark
information is not written out (including the closing </Placemark> tag).
A sample request and the resulting KML are listed below.
- Tyler
Request:
http://gisdev:8080/geoserver/wms?styles=&Format=kml&request=GetMap&layers=mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH&width=800&height=375&srs=EPSG:4326&bbox=-143.7,60.0,-143.2,60.2
Response:
<?xml version="1.0" encoding="UTF-8"?>
<kml>
<Document>
<name>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff0000ff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211]]></name>
</Document>
</kml>
Justin Deoliveira-4 wrote:
Hmm, this is kind of messed up. Is the server throwing any exceptions? I
have a feeling an exception is occurring during the encoding of the
placemark description ( which uses the template ). Because nothing after
the name is being written out from what i can tell, and the placemark
tag is never closed which is pretty messed up. Can you verify this,
there should be something in the log about a feature not being encoded
properly.
But this brings up a good bug. When loading a template fails some
cleanup needs to be performed in order to ensure that a valid document
is produced.
http://jira.codehaus.org/browse/GEOS-1153
-Justin
Michael Frumin wrote:
...
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/KMATTR%3DTRUE-generating-invalid-XML%2C-or-somethin'-tf3929759.html#a11222337
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Tyler,
This was what was happening to Mike earlier. So there must still be a
problem with the template occurring. When you issue the request there
should be an error logged. Can I get a look at the log? Thanks.
-Justin
Tyler Erickson wrote:
Justin,
The fix you submitted seems to have fixed the issue with closing the KML
tags, but the <placemark> tag does not contain a <description> tag with the
attributes (at least for the featuretype that was previously having the
problems with the unclosed KML tags).
This doesn't seem to affect all of the featuretypes that I have... others
generate KML as I would expect, with a placemark <description> tag.
- Tyler
Justin Deoliveira-4 wrote:
Hi Tyler,
Mike and I worked through this one and I just submitted a fix for it.
If you are interested in trying it out right away i can fire off a
nightly build for you, or you can wait until tommorrow and grab the one
that is generated tonight. Let me know.
-Justin
Tyler Erickson wrote:
I am also experiencing a similar error (i.e. mismatched tag in returned
KML).
Looking through the KML that is returned, it appears that the only tag
written within a <Placemark> is <name>, and all of rest of the placemark
information is not written out (including the closing </Placemark> tag).
A sample request and the resulting KML are listed below.
- Tyler
Request:
http://gisdev:8080/geoserver/wms?styles=&Format=kml&request=GetMap&layers=mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH&width=800&height=375&srs=EPSG:4326&bbox=-143.7,60.0,-143.2,60.2
Response:
<?xml version="1.0" encoding="UTF-8"?>
<kml>
<Document>
<name>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff0000ff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2209]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2210]]></name>
<Document>
<name>SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211</name>
<title>mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH</title>
<Style
id="GeoServerStyleSDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211">
<IconStyle>
<Icon/>
</IconStyle>
<IconStyle>
<color>ff00ffff</color>
<colorMode>normal</colorMode>
<Icon>
<href>root://icons/palette-4.png</href>
<x>32</x>
<y>128</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Placemark>
<name><![CDATA[SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH.2211]]></name>
</Document>
</kml>
Justin Deoliveira-4 wrote:
Hmm, this is kind of messed up. Is the server throwing any exceptions? I
have a feeling an exception is occurring during the encoding of the
placemark description ( which uses the template ). Because nothing after
the name is being written out from what i can tell, and the placemark
tag is never closed which is pretty messed up. Can you verify this,
there should be something in the log about a feature not being encoded
properly.
But this brings up a good bug. When loading a template fails some
cleanup needs to be performed in order to ensure that a valid document
is produced.
http://jira.codehaus.org/browse/GEOS-1153
-Justin
Michael Frumin wrote:
...
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Justin,
Here is the log.
It mentions a problem with converting a date. I'm using an ArcSDE datastore
(version 9.2) which returns a 'Date' data type (according to ArcCatalog)
which is stored as a 'datetime' data type in SQL Server.
- Tyler
INFO | jvm 1 | 2007/06/21 09:33:25 | 988328 [INFO]
org.vfny.geoserver.servlets.AbstractService - handling request:
INFO | jvm 1 | 2007/06/21 09:33:25 | GetMap Request
INFO | jvm 1 | 2007/06/21 09:33:25 | version: 1.1.1
INFO | jvm 1 | 2007/06/21 09:33:25 | output format: kml
INFO | jvm 1 | 2007/06/21 09:33:25 | width height: 375,800
INFO | jvm 1 | 2007/06/21 09:33:25 | bbox: Env[-143.7 : -143.2, 60.0 :
60.2]
INFO | jvm 1 | 2007/06/21 09:33:25 | layers:
mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH
INFO | jvm 1 | 2007/06/21 09:33:25 | styles: capitals
INFO | jvm 1 | 2007/06/21 09:33:26 | 21 Jun 09:33:25 ERROR
[freemarker.runtime] -
INFO | jvm 1 | 2007/06/21 09:33:26 | Can't convert the date to string,
because it is not known which parts of the date variable are in use. Use
?date, ?time or ?datetime built-in, or ?string.<format> or ?string(format)
built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | The problematic instruction:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 | ==> ${a.value} [on line 19, column
1 in description.ftl]
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
INFO | jvm 1 | 2007/06/21 09:33:26 | Java backtrace for programmers:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Jun 21, 2007 9:33:26 AM
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator
encodePlacemark
INFO | jvm 1 | 2007/06/21 09:33:26 | WARNING: Error occured processing
'description' template.
INFO | jvm 1 | 2007/06/21 09:33:26 | java.io.IOException: Error occured
processing template.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:203)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Caused by:
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | ... 47 more
INFO | jvm 1 | 2007/06/21 09:33:26 | 988703 [INFO]
org.vfny.geoserver.servlets.AbstractService - Service handled
Justin Deoliveira-4 wrote:
Hi Tyler,
This was what was happening to Mike earlier. So there must still be a
problem with the template occurring. When you issue the request there
should be an error logged. Can I get a look at the log? Thanks.
-Justin
--
View this message in context: http://www.nabble.com/KMATTR%3DTRUE-generating-invalid-XML%2C-or-somethin'-tf3929759.html#a11233430
Sent from the GeoServer - User mailing list archive at Nabble.com.
Aha, seems that there is a problem with dates...
Andrea: not sure what the best way to solve this is. I guess just do a
check for date and convert it into a string before wrapping it in a
template model?
Tyler: I will fire you off another email as soon as i fix this so you
can try another nightly build.
-Justin
Tyler Erickson wrote:
Justin,
Here is the log.
It mentions a problem with converting a date. I'm using an ArcSDE datastore
(version 9.2) which returns a 'Date' data type (according to ArcCatalog)
which is stored as a 'datetime' data type in SQL Server.
- Tyler
INFO | jvm 1 | 2007/06/21 09:33:25 | 988328 [INFO]
org.vfny.geoserver.servlets.AbstractService - handling request:
INFO | jvm 1 | 2007/06/21 09:33:25 | GetMap Request
INFO | jvm 1 | 2007/06/21 09:33:25 | version: 1.1.1
INFO | jvm 1 | 2007/06/21 09:33:25 | output format: kml
INFO | jvm 1 | 2007/06/21 09:33:25 | width height: 375,800
INFO | jvm 1 | 2007/06/21 09:33:25 | bbox: Env[-143.7 : -143.2, 60.0 :
60.2]
INFO | jvm 1 | 2007/06/21 09:33:25 | layers:
mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH
INFO | jvm 1 | 2007/06/21 09:33:25 | styles: capitals
INFO | jvm 1 | 2007/06/21 09:33:26 | 21 Jun 09:33:25 ERROR
[freemarker.runtime] -
INFO | jvm 1 | 2007/06/21 09:33:26 | Can't convert the date to string,
because it is not known which parts of the date variable are in use. Use
?date, ?time or ?datetime built-in, or ?string.<format> or ?string(format)
built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | The problematic instruction:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 | ==> ${a.value} [on line 19, column
1 in description.ftl]
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
INFO | jvm 1 | 2007/06/21 09:33:26 | Java backtrace for programmers:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Jun 21, 2007 9:33:26 AM
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator
encodePlacemark
INFO | jvm 1 | 2007/06/21 09:33:26 | WARNING: Error occured processing
'description' template.
INFO | jvm 1 | 2007/06/21 09:33:26 | java.io.IOException: Error occured
processing template.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:203)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Caused by:
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | ... 47 more
INFO | jvm 1 | 2007/06/21 09:33:26 | 988703 [INFO]
org.vfny.geoserver.servlets.AbstractService - Service handled
Justin Deoliveira-4 wrote:
Hi Tyler,
This was what was happening to Mike earlier. So there must still be a
problem with the template occurring. When you issue the request there
should be an error logged. Can I get a look at the log? Thanks.
-Justin
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Should be fixed now. Tyler i generated another snapshot build if you
want to try it out.
-Justin
Justin Deoliveira wrote:
Aha, seems that there is a problem with dates...
Andrea: not sure what the best way to solve this is. I guess just do a
check for date and convert it into a string before wrapping it in a
template model?
Tyler: I will fire you off another email as soon as i fix this so you
can try another nightly build.
-Justin
Tyler Erickson wrote:
Justin,
Here is the log.
It mentions a problem with converting a date. I'm using an ArcSDE datastore
(version 9.2) which returns a 'Date' data type (according to ArcCatalog)
which is stored as a 'datetime' data type in SQL Server.
- Tyler
INFO | jvm 1 | 2007/06/21 09:33:25 | 988328 [INFO]
org.vfny.geoserver.servlets.AbstractService - handling request:
INFO | jvm 1 | 2007/06/21 09:33:25 | GetMap Request
INFO | jvm 1 | 2007/06/21 09:33:25 | version: 1.1.1
INFO | jvm 1 | 2007/06/21 09:33:25 | output format: kml
INFO | jvm 1 | 2007/06/21 09:33:25 | width height: 375,800
INFO | jvm 1 | 2007/06/21 09:33:25 | bbox: Env[-143.7 : -143.2, 60.0 :
60.2]
INFO | jvm 1 | 2007/06/21 09:33:25 | layers:
mtri:SDE_NRCS.DBO.V_MEASUREMENT_SPATIAL_PH
INFO | jvm 1 | 2007/06/21 09:33:25 | styles: capitals
INFO | jvm 1 | 2007/06/21 09:33:26 | 21 Jun 09:33:25 ERROR
[freemarker.runtime] -
INFO | jvm 1 | 2007/06/21 09:33:26 | Can't convert the date to string,
because it is not known which parts of the date variable are in use. Use
?date, ?time or ?datetime built-in, or ?string.<format> or ?string(format)
built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | The problematic instruction:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 | ==> ${a.value} [on line 19, column
1 in description.ftl]
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
INFO | jvm 1 | 2007/06/21 09:33:26 | Java backtrace for programmers:
INFO | jvm 1 | 2007/06/21 09:33:26 | ----------
INFO | jvm 1 | 2007/06/21 09:33:26 |
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Jun 21, 2007 9:33:26 AM
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator
encodePlacemark
INFO | jvm 1 | 2007/06/21 09:33:26 | WARNING: Error occured processing
'description' template.
INFO | jvm 1 | 2007/06/21 09:33:26 | java.io.IOException: Error occured
processing template.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:203)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:96)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.description(FeatureTemplate.java:153)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemarkDescription(KMLVectorTransformer.java:637)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encodePlacemark(KMLVectorTransformer.java:547)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:205)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:186)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:187)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:110)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:496)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:582)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.Server.handle(Server.java:269)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:687)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:492)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
INFO | jvm 1 | 2007/06/21 09:33:26 | Caused by:
freemarker.template.TemplateModelException: Can't convert the date to
string, because it is not known which parts of the date variable are in use.
Use ?date, ?time or ?datetime built-in, or ?string.<format> or
?string(format) built-in with this date.
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.formatDate(Environment.java:699)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:105)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Expression.getStringValue(Expression.java:93)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IfBlock.accept(IfBlock.java:82)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:172)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:351)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.MixedContent.accept(MixedContent.java:92)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.visit(Environment.java:196)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.core.Environment.process(Environment.java:176)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
freemarker.template.Template.process(Template.java:232)
INFO | jvm 1 | 2007/06/21 09:33:26 | at
org.vfny.geoserver.wms.responses.featureInfo.FeatureTemplate.execute(FeatureTemplate.java:200)
INFO | jvm 1 | 2007/06/21 09:33:26 | ... 47 more
INFO | jvm 1 | 2007/06/21 09:33:26 | 988703 [INFO]
org.vfny.geoserver.servlets.AbstractService - Service handled
Justin Deoliveira-4 wrote:
Hi Tyler,
This was what was happening to Mike earlier. So there must still be a
problem with the template occurring. When you issue the request there
should be an error logged. Can I get a look at the log? Thanks.
-Justin
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
I installed the nightly build, and the attributes (including dates) are now
displaying as expected. Thanks!
- Tyler
Continuum-3 wrote:
Should be fixed now. Tyler i generated another snapshot build if you
want to try it out.
-Justin
--
View this message in context: http://www.nabble.com/KMATTR%3DTRUE-generating-invalid-XML%2C-or-somethin'-tf3929759.html#a11259254
Sent from the GeoServer - User mailing list archive at Nabble.com.