You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Sourabh Kasliwal <so...@mojostation.com> on 2011/01/11 16:01:05 UTC

Fetch failed with: java.lang.NullPointerException

Hi,
I am getting this error while fetching for some files.
Can any one please tell what could be the reason behind this.
The urls that give this error are valid as they work well in a browser.
regards
Sourabh

Re: Fetch failed with: java.lang.NullPointerException

Posted by Sourabh Kasliwal <so...@mojostation.com>.
Hi,
Here is the snippet of the log. I am using nutch 1.1

11 Jan 2011 07:00:32,484 INFO  [FetcherThread] - fetch of
http://blogs.straitstimes.com/2011/1/7/to-axe-or-not-to-axe failed with:
java.lang.NullPointerException
11 Jan 2011 07:00:32,484 INFO  [QueueFeeder] - QueueFeeder finished: total 1
records + hit by time limit :0
11 Jan 2011 07:00:32,754 INFO  [FetcherThread] - fetching
http://img.perezhilton.com/?feed=rss2
11 Jan 2011 07:00:32,763 INFO  [FetcherThread] - -finishing thread
FetcherThread, activeThreads=3
11 Jan 2011 07:00:32,764 INFO  [FetcherThread] - -finishing thread
FetcherThread, activeThreads=2
11 Jan 2011 07:00:32,764 INFO  [FetcherThread] - -finishing thread
FetcherThread, activeThreads=1

The url is valid as page is returned in the browser.
regards
Sourabh

On Tue, Jan 11, 2011 at 9:22 PM, Susam Pal <su...@gmail.com> wrote:

> On Tue, Jan 11, 2011 at 8:31 PM, Sourabh Kasliwal
> <so...@mojostation.com> wrote:
> > Hi,
> > I am getting this error while fetching for some files.
> > Can any one please tell what could be the reason behind this.
> > The urls that give this error are valid as they work well in a browser.
> > regards
> > Sourabh
> >
>
> Could you please share the exception stack trace if you find it in the
> console or logs. The log file is 'logs/hadoop.log'.
>
> Regards,
> Susam Pal
>

Re: Fetch failed with: java.lang.NullPointerException

Posted by Susam Pal <su...@gmail.com>.
On Tue, Jan 11, 2011 at 8:31 PM, Sourabh Kasliwal
<so...@mojostation.com> wrote:
> Hi,
> I am getting this error while fetching for some files.
> Can any one please tell what could be the reason behind this.
> The urls that give this error are valid as they work well in a browser.
> regards
> Sourabh
>

Could you please share the exception stack trace if you find it in the
console or logs. The log file is 'logs/hadoop.log'.

Regards,
Susam Pal