in the comments for getHttpRecorder it says that the
value can be null. that being the case, it seems that
the return should be checked for null before using it
public long getContentLength() {
if (this.contentLength < 0) {
////////////dave skinner
HttpRecorder rec = getHttpRecorder() ;
if ( rec != null )
this.contentLength =
rec.getResponseContentLength();
else
return 0 ;
////////dave skinner end
// original
// this.contentLength =
getHttpRecorder().getResponseContentLength(); }
Nobody/Anonymous
None
None
Public
|
Date: 2007-03-14 00:20
|
|
Date: 2005-02-09 23:10 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| resolution_id | None | 2005-02-09 23:10 | stack-sf |
| summary | oversight in CrawlURI | 2005-02-09 23:10 | stack-sf |
| close_date | - | 2005-02-09 23:10 | stack-sf |
| status_id | Open | 2005-02-09 23:10 | stack-sf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use