Check whether you have included index-basic & index-more plugin in your
nutch-site.xml file

the same problem was solved including this file.


hope this will solve the issue...

Ratnesh V2Solutions,India

Meryl Silverburgh wrote:
> 
> HI,
> 
> I am following the http://lucene.apache.org/nutch/tutorial8.html to setup
> nutch.
> 
> But i get a NullPointerException during Fetch. Can you please tell me
> what am i missing?
> 
> $ bin/nutch crawl urls -dir crawl -depth 1 -topN 5
> 
> $ s1=`ls -d crawl/segments/2* | tail -1`
> 
> $ echo $s1
> crawl/segments/20070406202200/
> 
> $ bin/nutch fetch $s1
> Fetcher: starting
> Fetcher: segment: crawl/segments/20070406202200
> Fetcher: threads: 10
> fetching http://www.yahoo.com/s/550957
> fetching http://www.yahoo.com/r\/1m
> fetching http://www.yahoo.com/2.0.0
> fetching http://srd.yahoo.com/hp5-v
> fetching http://www.yahoo.com/r/hq
> fetching http://www.yahoo.com/+document.cookie+
> fetching http://www.yahoo.com/s/550839
> fetching http://www.yahoo.com/1.0
> fetching http://www.yahoo.com/r/hf
> fetch of http://www.yahoo.com/s/550957 failed with:
> java.lang.NullPointerException
> fetch of http://www.yahoo.com/s/550839 failed with:
> java.lang.NullPointerException
> fetch of http://www.yahoo.com/r/hq failed with:
> java.lang.NullPointerException
> Fetcher: done
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NullPointerException-during-Fetch-tf3539577.html#a9882786
Sent from the Nutch - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to