W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2002

compiled CVS validator: couldn't load properties

From: Oliver Moeller <omoeller@verify-it.de>
Date: Tue, 2 Jul 2002 18:07:39 -0400 (EDT)
Message-ID: <15650.31228.51737.634217@linux.local>
To: www-validator-css@w3.org




Hi there,

I downloaded the CSS validator source from dev.w3.org:/sources/public last
week and got it to compile.  However I did not manage to actually validate any
html documents (offline) with it.

There appears to be some problems with the allocation of input
streams that rely on org.w3c.css.util.Messages:
	Messages.class.getResource("Messages.properties.en"); 
and others. Here is the symptoms.

## -- started with validator.zip in classpath ------------------------------
> java org.w3c.css.css.StyleSheetCom index.html                
org.w3c.css.util.Messages: couldn't load properties en
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties cn
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties ja
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties fr
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties de
  java.lang.NullPointerException
org.w3c.css.util.Messages: couldn't load properties nl
  java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
        at org.w3c.css.util.Messages.getString(Messages.java:73)
        at org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:229)
## -- end of error ---------------------------------------------------------

Any ideas how to fix this?


BTW - I had some trouble compiling, since

1) Makefiles or parts of them are missing 
   (like package.make in 2002/css-validator)
   or wrong
   (CssGrammar.jj should be CssParser.jj in org/w3c/css/parser/analyzer/)
2) some Makefiles are localized, i.e., contain lines like
   /u/www43/0/w3c/plehegar/Work/Java/CSS/util/Util.class
   (which suggests they only have been executed on ONE machine ever)   

OK, I was able to fix this... but it was not nice.

Am I doing something wrong in the checkout and get this incomplete makefiles?
Am I the only one experiencing this problems? 

Help appreciated,

- oli						       http://www.verify-it.de
*com-pu-ter*: device to enhance our capability to err. <omoeller@verify-it.de>
Received on Thursday, 11 July 2002 18:10:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:11 GMT