You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Tadesse Sefer (JIRA)" <ji...@apache.org> on 2009/06/23 22:19:07 UTC

[jira] Commented: (NUTCH-729) NPE in FieldIndexer when BasicFields url doesn't exist

    [ https://issues.apache.org/jira/browse/NUTCH-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723286#action_12723286 ] 

Tadesse Sefer commented on NUTCH-729:
-------------------------------------

Where do you change the logging to use a url key?

> NPE in FieldIndexer when BasicFields url doesn't exist
> ------------------------------------------------------
>
>                 Key: NUTCH-729
>                 URL: https://issues.apache.org/jira/browse/NUTCH-729
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 0.9.0, 1.0.0
>         Environment: All
>            Reporter: Dennis Kubes
>            Assignee: Dennis Kubes
>             Fix For: 1.1
>
>         Attachments: NUTCH-729-1-20090235.patch
>
>
> There is a NullPointerException during a logging call in FieldIndexer when there isn't a url for a document.  Documents shouldn't be without urls but since the FieldIndexer doesn't validate fields it is possible for it to occur.  Most often this happens when BasicFields is run with the wrong segments directory and doesn't complain.  It could also occur if using the FieldIndexer to index things other than basic fields.

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