You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Srinivasarao Vundavalli <sr...@gmail.com> on 2007/09/18 06:42:03 UTC

NullPointerException while fetching

Hi,
     I am crawling some urls from the data i have on my local machine. While
fetching these urls, i am getting  "fetch of [url] failed with:
java.lang.NullPointerException" for some of the urls. Can anyone help me to
resolve this error??

Thank You

Re: NullPointerException while fetching

Posted by eyal edri <ey...@gmail.com>.
can u show the source html file that produces this exception?
there's an issue with pages that don't mention the content type in the
header (ususally in redirects) so nutch throws exception.

if that is the case, there's a code line in Content.java that needs to
modified,




On 9/18/07, Srinivasarao Vundavalli <sr...@gmail.com> wrote:
>
> Hi,
>     I am crawling some urls from the data i have on my local machine.
> While
> fetching these urls, i am getting  "fetch of [url] failed with:
> java.lang.NullPointerException" for some of the urls. Can anyone help me
> to
> resolve this error??
>
> Thank You
>



-- 
Eyal Edri