This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 953 - Getting nullpointer exception while validating the site
Summary: Getting nullpointer exception while validating the site
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 08:20 UTC by Pinak
Modified: 2005-07-22 10:04 UTC (History)
0 users

See Also:


Attachments

Description Pinak 2004-12-08 08:20:33 UTC
I am trying to validate the site http://www.directgov.gov.uk through site 
http://jigsaw.w3.org/css-validator and I am getting following errors

Line: 32 
Uncaught error java.lang.NullPointerException 

Line: 34 
Uncaught error java.lang.NullPointerException 

Line: 35 
Uncaught error java.lang.NullPointerException 

Line: 36 
Uncaught error java.lang.NullPointerException 

Is this a bug in the java webserver where jigsaw is hosted for the validation 
or something that we need to change in the site to correct it.

Please let us ASAP.
Comment 1 Yves Lafon 2005-07-20 09:38:54 UTC
(In reply to comment #0)
> I am trying to validate the site http://www.directgov.gov.uk through site 
> http://jigsaw.w3.org/css-validator and I am getting following errors
> 
> Line: 32 
> Uncaught error java.lang.NullPointerException 

Those errors are here because the remote server does not produce any content type.
>wget -S -O /dev/null http://www.directgov.gov.uk/pages/css/core_modules.css
HTTP request sent, awaiting response... 200 OK
2 Server: ""
3 Date: Wed, 20 Jul 2005 09:36:20 GMT
4 Content-length: 3674
5 Last-Modified: Fri, 04 Feb 2005 10:57:12 GMT
6 Accept-Ranges: bytes
7 Connection: close
8 

The code will be fix to report the proper output, "You can't import a document
with no Content-Type"