Null Pointer Exception on getSummary when segment no longer exists
------------------------------------------------------------------

                 Key: NUTCH-542
                 URL: https://issues.apache.org/jira/browse/NUTCH-542
             Project: Nutch
          Issue Type: Bug
          Components: searcher
    Affects Versions: 0.9.0
         Environment: ubuntu, tomcat5.5
            Reporter: Jeff V.
            Priority: Minor


If the index refers to a search result in a given segment, but that segment 
directory does not exist (has been deleted for some reason) the search.jsp will 
return a completely blank page because a Null Pointer Exception is being thrown 
from getSummary. At the very least it would be nice to get a more friendly log 
message such as "segment doesn't exist". But ideally the search should continue 
with just omitting the non-existent results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to