[Geoserver-users] "The "fill" property does not support function values."

Hi List,
Looking through my logs, in my tomcat6-stdout I’m seeing quite a few of these:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “fill” property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “fill” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “stroke-width” property does not support function values.

AttrValue:param(outline-width) 1

Exception:org.w3c.dom.DOMException

org.w3c.dom.DOMException: The “stroke-width” property does not support function values.

at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)

at org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)

at org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “stroke-width” property does not support function values.
AttrValue:param(outline-width) 1
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “stroke-width” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)
at org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

I’ve gone through all of my styles (they’re all SLD’s - not CSS styles at all) and none of them are using a within a fill or stroke or stroke-width.

Why I am getting these exceptions and what do they mean?

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Jonathan,

dumb question: Are you sure the requests are your own requests and not sent
by somebody else who has his /her own styling without telling you? Is this
server open to the public?

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/The-fill-property-does-not-support-function-values-tp5100734p5100822.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Christian,
Good question actually! :slight_smile:

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

However this is on the internal system, no public access. I doubt QGIS Desktop, ArcView or MapInfo would be using SLD’s, and those are the only non-curated systems that are likely to have been used with this.
Unfortunately the items don’t include timestamps so I can’t look at the corresponding request.

Also - shouldn’t these errors be in the GeoServer log rather than stdout?

Cheers,
Jonathan

On 29 January 2014 23:05, cmaul <Christian.Maul@anonymised.com> wrote:

Jonathan,

dumb question: Are you sure the requests are your own requests and not sent
by somebody else who has his /her own styling without telling you? Is this
server open to the public?

Cheers

Christian



Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813

View this message in context: http://osgeo-org.1560.x6.nabble.com/The-fill-property-does-not-support-function-values-tp5100734p5100822.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Wed, Jan 29, 2014 at 4:04 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi List,
Looking through my logs, in my tomcat6-stdout I'm seeing quite a few of
these:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException:

The "fill" property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The "fill" property does not support function
values.
at
org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at
org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at
org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at
org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at
org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)

***** CSSEngine: exception
property.syntax.error:org.w3c.dom.DOMException: The "stroke-width" property
does not support function values.

AttrValue:param(outline-width) 1

Exception:org.w3c.dom.DOMException

org.w3c.dom.DOMException: The "stroke-width" property does not support

function values.

at

org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)

at

org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)

at

org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException:

The "stroke-width" property does not support function values.
AttrValue:param(outline-width) 1
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The "stroke-width" property does not support
function values.
at
org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at
org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)
at
org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

This stack traces include Batik, so they are happening either as we write
out SVG, or as we are reading a SVG to be used as an icon.
Impossible to say which one of the two without the full stack trace

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Hi Andrea,
The complete logs are in here (same file as the other thread) - http://maps.warwickshire.gov.uk/shr/logs.zip

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

/instance1/tomcat6instance1-stdout.2014-01-29.log


A complete stacktrace:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “fill” property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “fill” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)
at org.apache.batik.css.engine.CSSEngine$1.property(CSSEngine.java:744)
at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:768)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:876)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:82)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(CSSUtilities.java:564)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:206)
at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
at org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.getGraphicNode(SVGGraphicFactory.java:211)
at org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.(SVGGraphicFactory.java:150)
at org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java:95)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:307)
at org.geotools.styling.GraphicImpl.accept(GraphicImpl.java:354)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:236)
at org.geotools.styling.PointSymbolizerImpl.accept(PointSymbolizerImpl.java:93)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:140)
at org.geotools.renderer.lite.StreamingRenderer.findRenderingBuffer(StreamingRenderer.java:1477)
at org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1013)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2009)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:837)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:481)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:251)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:521)
at org.geoserver.wms.GetMap.run(GetMap.java:253)
at org.geoserver.wms.GetMap.run(GetMap.java:124)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:61)
at org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:35)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:73)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:54)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy61.getMap(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:774)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:87)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:134)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:448)
at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:403)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1703)
at java.lang.Thread.run(Unknown Source)

On 31 January 2014 13:47, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Jan 29, 2014 at 4:04 PM, Jonathan Moules <jonathanmoules@anonymised.com> wrote:

Hi List,
Looking through my logs, in my tomcat6-stdout I’m seeing quite a few of these:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “fill” property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “fill” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “stroke-width” property does not support function values.

AttrValue:param(outline-width) 1

Exception:org.w3c.dom.DOMException

org.w3c.dom.DOMException: The “stroke-width” property does not support function values.

at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)

at org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)

at org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “stroke-width” property does not support function values.
AttrValue:param(outline-width) 1
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “stroke-width” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.LengthManager.createValue(LengthManager.java:94)
at org.apache.batik.css.engine.value.svg.StrokeWidthManager.createValue(StrokeWidthManager.java:89)

This stack traces include Batik, so they are happening either as we write out SVG, or as we are reading a SVG to be used as an icon.
Impossible to say which one of the two without the full stack trace

Cheers
Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Fri, Jan 31, 2014 at 3:04 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi Andrea,
The complete logs are in here (same file as the other thread) -
http://maps.warwickshire.gov.uk/shr/logs.zip
/instance1/tomcat6instance1-stdout.2014-01-29.log

-------
A complete stacktrace:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException:

The "fill" property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The "fill" property does not support function
values.
at
org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at
org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at
org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at
org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at
org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)
at org.apache.batik.css.engine.CSSEngine$1.property(CSSEngine.java:744)
at
org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:768)
at
org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:876)
at
org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:82)
at
org.apache.batik.bridge.CSSUtilities.convertDisplay(CSSUtilities.java:564)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:206)
at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
at
org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.getGraphicNode(SVGGraphicFactory.java:211)
at
org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.<init>(SVGGraphicFactory.java:150)
at
org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java:95)
at
org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:307)
at org.geotools.styling.GraphicImpl.accept(GraphicImpl.java:354)
at
org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:236)
at
org.geotools.styling.PointSymbolizerImpl.accept(PointSymbolizerImpl.java:93)
at
org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:140)
at
org.geotools.renderer.lite.StreamingRenderer.findRenderingBuffer(StreamingRenderer.java:1477)
at
org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1013)
at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2009)
at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:837)

Ok, then it's happening while rendering, and caused by one of the SVG icons
you're referring to in your styles
(or in a dynamic style that some above average user is sending to GeoServer
using POST requests, or using SLDBody)

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Hi Andrea,
I’m guessing from what you didn’t say that there’s no way to figure out which SVG is causing it?

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Cheers,
Jonathan

On 31 January 2014 14:09, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Jan 31, 2014 at 3:04 PM, Jonathan Moules <jonathanmoules@anonymised.com> wrote:

Hi Andrea,
The complete logs are in here (same file as the other thread) - http://maps.warwickshire.gov.uk/shr/logs.zip

Ok, then it’s happening while rendering, and caused by one of the SVG icons you’re referring to in your styles
(or in a dynamic style that some above average user is sending to GeoServer using POST requests, or using SLDBody)

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


/instance1/tomcat6instance1-stdout.2014-01-29.log


A complete stacktrace:

***** CSSEngine: exception property.syntax.error:org.w3c.dom.DOMException: The “fill” property does not support function values.
AttrValue:param(fill) #FFF
Exception:org.w3c.dom.DOMException
org.w3c.dom.DOMException: The “fill” property does not support function values.
at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60)
at org.apache.batik.css.engine.value.IdentifierManager.createValue(IdentifierManager.java:53)
at org.apache.batik.css.engine.value.AbstractColorManager.createValue(AbstractColorManager.java:187)
at org.apache.batik.css.engine.value.svg.SVGColorManager.createValue(SVGColorManager.java:123)
at org.apache.batik.css.engine.value.svg.SVGPaintManager.createValue(SVGPaintManager.java:101)

at org.apache.batik.css.engine.CSSEngine$1.property(CSSEngine.java:744)
at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:768)
at org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:876)
at org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:82)
at org.apache.batik.bridge.CSSUtilities.convertDisplay(CSSUtilities.java:564)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:206)
at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
at org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.getGraphicNode(SVGGraphicFactory.java:211)
at org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.(SVGGraphicFactory.java:150)
at org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java:95)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:307)
at org.geotools.styling.GraphicImpl.accept(GraphicImpl.java:354)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:236)
at org.geotools.styling.PointSymbolizerImpl.accept(PointSymbolizerImpl.java:93)
at org.geotools.renderer.lite.MetaBufferEstimator.visit(MetaBufferEstimator.java:140)
at org.geotools.renderer.lite.StreamingRenderer.findRenderingBuffer(StreamingRenderer.java:1477)
at org.geotools.renderer.lite.StreamingRenderer.getStyleQuery(StreamingRenderer.java:1013)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2009)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:837)

On Fri, Jan 31, 2014 at 3:16 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi Andrea,
I'm guessing from what you didn't say that there's no way to figure out
which SVG is causing it?

Well, if you don't have request logs, nope.
If you have request logs then I'd just go and try the layer/style
combinations in it, one by one

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Hi Andrea,
I have request logs; problem is there’s no timestamp on the stdout event. A quick search shows no uses of “sldbody” or even just “sld” anywhere in the log. So I guess it was a locally stored SVG.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 31 January 2014 14:26, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Jan 31, 2014 at 3:16 PM, Jonathan Moules <jonathanmoules@…4942…> wrote:

Hi Andrea,

I’m guessing from what you didn’t say that there’s no way to figure out which SVG is causing it?

Well, if you don’t have request logs, nope.
If you have request logs then I’d just go and try the layer/style combinations in it, one by one

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I don’t know a ton about batik and its error reporting, but I suggest that you use a find-in-files tool like grep to look for the actual text “param(fill)” in your SVG resources. The message appears to indicate a syntax error in one of your icon files.

···

On Fri, Jan 31, 2014 at 11:30 AM, Jonathan Moules <jonathanmoules@anonymised.com…> wrote:

Hi Andrea,
I have request logs; problem is there’s no timestamp on the stdout event. A quick search shows no uses of “sldbody” or even just “sld” anywhere in the log. So I guess it was a locally stored SVG.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.


WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

David Winslow

Boundless - http://boundlessgeo.com/

On 31 January 2014 14:26, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Fri, Jan 31, 2014 at 3:16 PM, Jonathan Moules <jonathanmoules@…4942…> wrote:

Hi Andrea,

I’m guessing from what you didn’t say that there’s no way to figure out which SVG is causing it?

Well, if you don’t have request logs, nope.
If you have request logs then I’d just go and try the layer/style combinations in it, one by one

Cheers

Andrea

== Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information ==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it