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

Reply via email to