[ https://issues.apache.org/jira/browse/NUTCH-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kubes updated NUTCH-729: ------------------------------- Attachment: NUTCH-729-1-20090235.patch Simple patch. Changes the logging to use the key (which should be url and which should always exist). > 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.