« Return to Thread: [jira] Created: (NUTCH-729) NPE in FieldIndexer when BasicFields url doesn't exist

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

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: [jira] Created: (NUTCH-729) NPE in FieldIndexer when BasicFields url doesn't exist