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

Re: java.lang.NullPointerException

From: David Berry <david.berry@3glab.com>
Date: Wed, 7 Aug 2002 10:32:55 -0400 (EDT)
Message-ID: <3D512F8C.7030506@3glab.com>
To: TAKAHASHI Makoto <GGB01067@nifty.ne.jp>
Cc: "Www-Validator-Css@W3. Org" <www-validator-css@w3.org>




TAKAHASHI Makoto wrote:
> Dave
> 
>   Thank you for your information.
>   I changed all contenttype to contentType in
> /org/w3c/css/css/StyleSheetCom.java
> 
>   Then I have another error message as below.

Ah yes you need to edit the file, "org/w3c/css/css/format.properties" and add
this line to it.

text: text.properties

You also need to make sure that all the properties files are located
beside their matching class files. ie you need to make sure the *.class files
get put in the same place as the corresponding *.java files. I was using
JBuilder initially and had to change the project configuration to make
this happen.

If you are doing this then ignore the rest of this message.

If you put the *.class files in another location then you will have
to copy over the properties files to the classes directory tree.

Be careful there are more than just properties files to copy over.
There are also files with these endings that need to go over.

     "properties",
     "en",
     "zh-cn",
     "ja",
     "fr",
     "de",
     "nl",
     "dtd4",
     "dtd",
     "ent",
     "sgml",
     "decl",
     "map",
     "xml"

IIRC there was also one of the files in the tree that was a properties file
I believe it is css-validator/org/w3c/css/font/proplistCSS2. I changed its
name to proplistCSS2.properties to make it easier for our build system to
copy over the file.

Dave
Received on Wednesday, 7 August 2002 11:13:33 GMT

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