W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2012

css-validator error?

From: Andrzej Felcenloebn <afelcenloben@gmail.com>
Date: Mon, 5 Nov 2012 18:55:17 +0100
Message-ID: <CAAR_Pr83FBdffUUTZXVq9cEOg6WAUBZ+6AnvRU6C3rEw+hHLzA@mail.gmail.com>
To: www-validator-css@w3.org
Hi,

I'm trying to run css-validator.war (compiled from source using "ant war"
command). I've placed the file inside webapps directory of Tomcat 6.0.36
server running under Windows 7 (Seven). The first page looks nice - the
same as on the w3c page. When I try validate some pages I've got the
following error (http://s12.postimage.org/dpz9rdl25/css_validator_error.png
):

[image: Obraz w treści 1]
I've found the following in Tomcat's log files that seems to be related to
the problem:
[error] ResourceManager : unable to find resource
'org/w3c/css/css/xhtml.properties' in any resource loader.
Unable to find resource 'org/w3c/css/css/xhtml.properties'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'org/w3c/css/css/xhtml.properties'
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:474)
    at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:352)
    at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533)
    at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1514)
    at
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:299)
    at org.apache.velocity.app.Velocity.getTemplate(Velocity.java:358)
    at
org.w3c.css.css.StyleSheetGenerator.<init>(StyleSheetGenerator.java:193)
    at
org.w3c.css.css.StyleReportFactory.getStyleReport(StyleReportFactory.java:19)
    at org.w3c.css.servlet.CssValidator.handleRequest(CssValidator.java:719)
    at org.w3c.css.servlet.CssValidator.doGet(CssValidator.java:365)
    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.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.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
    at
org.w3c.css.css.StyleSheetGenerator.print(StyleSheetGenerator.java:509)
    at org.w3c.css.servlet.CssValidator.handleRequest(CssValidator.java:731)
    at org.w3c.css.servlet.CssValidator.doGet(CssValidator.java:365)
    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.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.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)

Best Regards
Andrzej



image.png
(image/png attachment: image.png)

Received on Monday, 5 November 2012 18:10:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 18:10:30 GMT