hi Andrzej:

Currently, I implemented Nutch 61 in Nutch version 07.

http://issues.apache.org/jira/browse/NUTCH-61

Compiling is successfully.

I create an empty DB, insert urls, so far so good;

But, when I run bin/nutch/generate (segments) command,
I got the following error: Note the line number might
be shift a bit coz I change the code according to
Nutch61 diff file.

"
050910 111335 Overall processing: Sorted 0 entries in
0.0 seconds.
050910 111335 Overall processing: Sorted NaN
entries/second
Exception in thread "main"
java.lang.NullPointerException
        at
org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:488)
        at
org.apache.nutch.tools.FetchListTool.emitFetchList(FetchListTool.java:319)
        at
org.apache.nutch.tools.FetchListTool.main(FetchListTool.java:612)
"

And I took look at FetchListTool.java, and focus on
the following piece of new code of Nutch61:

"
FetchListEntry value = new FetchListEntry();
Page page = (Page)value.getPage().clone();
"

Seems value is an empty FetchListEntry instance. Will
that cause clone getPage failure coz it is NULL?

thanks,

Michael Ji




        
                
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to