[ 
https://issues.apache.org/jira/browse/NUTCH-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John H. Lee updated NUTCH-575:
------------------------------

    Attachment: oss-npe.patch

Simply check for summaries[i] != null before calling toHtml().

> NPE in OpenSearchServlet when summary is null
> ---------------------------------------------
>
>                 Key: NUTCH-575
>                 URL: https://issues.apache.org/jira/browse/NUTCH-575
>             Project: Nutch
>          Issue Type: Bug
>          Components: searcher
>    Affects Versions: 0.9.0, 1.0.0
>            Reporter: John H. Lee
>             Fix For: 1.0.0
>
>         Attachments: oss-npe.patch
>
>
> summaries[i].toHtml() is called without checking if summaries[i] is not null, 
> causing an unhandled NullPointerException and a failed OpenSearchServlet 
> query.

-- 
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