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

java.lang.NullPointerException

From: TAKAHASHI Makoto <GGB01067@nifty.ne.jp>
Date: Fri, 2 Aug 2002 18:09:10 -0400 (EDT)
To: <www-validator-css@w3.org>
Message-ID: <NDBBKBKACLELJJFPLEPEIELACNAA.GGB01067@nifty.ne.jp>




I checked out latest version via CVS, and tried to make validator.

Directriy where I place modules is

c:\Jigsaw\Jigsaw\www\servlet\css-validator

And I compiled it by

set
CLASSPATH=c:\jigsaw\Jigsaw;c:\jigsaw\classes\jigsaw.jar;c:\jigsaw\classes\xp
.jar;c:\jigsaw\classes\sax.jar;c:\jigsaw\classes\servlet.jar;c:\jigsaw\class
es\xerces.jar;c:\jigsaw\classes\Tidy.jar;
javac -classpath %CLASSPATH% -sourcepath
c:\jigsaw\jigsaw\www\servlet\css-validator
org\w3c\css\css\StyleSheetCom.java

There was no error messages. So I teried to command line mode. And I got
error messages.

C:\Jigsaw\Jigsaw\WWW\servlet\css-validator>java
org.w3c.css.css.StyleSheetCom http://www.w3.org
html request http://www.w3.org
java.lang.NullPointerException
        at
org.w3c.css.css.StyleSheetGenerator2.getDocumentName(StyleSheetGenerator2.ja
va:392)
        at
org.w3c.css.css.StyleSheetGenerator2.<init>(StyleSheetGenerator2.java:80)
        at org.w3c.css.css.StyleSheetCom.notifyEnd(StyleSheetCom.java:330)
        at html.tags.HtmlParser.run(HtmlParser.java:226)
        at org.w3c.css.css.StyleSheetCom.htmlRequest(StyleSheetCom.java:73)
        at org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:265)

In older version of CSS Validator, this procedure worked.
  Where should I change?

TAKAHASHI Makoto
hobbit.makoto@nifty.ne.jp
http://homepage1.nifty.com/hobbit/english/
Received on Tuesday, 6 August 2002 12:57:42 GMT

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