[
https://issues.apache.org/jira/browse/NUTCH-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940727#comment-16940727
]
Hudson commented on NUTCH-2482:
-------------------------------
SUCCESS: Integrated in Jenkins build Nutch-trunk #3647 (See
[https://builds.apache.org/job/Nutch-trunk/3647/])
NUTCH-2482 index-geoip not to add null values to document fields - also
(snagel:
[https://github.com/apache/nutch/commit/254a96856f853f3cf36c00fe31ef0c3a7011e420])
* (edit)
src/plugin/index-geoip/src/java/org/apache/nutch/indexer/geoip/GeoIPDocumentCreator.java
* (edit)
src/plugin/index-geoip/src/java/org/apache/nutch/indexer/geoip/GeoIPIndexingFilter.java
* (edit) src/plugin/index-geoip/ivy.xml
* (edit) src/plugin/index-geoip/plugin.xml
> index-geoip not to add null values to document fields
> -----------------------------------------------------
>
> Key: NUTCH-2482
> URL: https://issues.apache.org/jira/browse/NUTCH-2482
> Project: Nutch
> Issue Type: Bug
> Components: indexer, plugin
> Affects Versions: 1.13
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Minor
> Labels: patch-available
> Fix For: 1.16
>
>
> The plugin index-geoip may add null values to document fields which then
> cause further errors, here a NPE in IndexingFiltersChecker when toString() is
> called on null:
> {noformat}
> $ bin/nutch indexchecker -Dstore.ip.address=true
> -Dindex.geoip.usage=cityDatabase \
> -Dplugin.includes="protocol-http|parse-html|index-(basic|geoip)"
> http://www.example.com/
> ...
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.nutch.indexer.IndexingFiltersChecker.fetch(IndexingFiltersChecker.java:340)
> at
> org.apache.nutch.indexer.IndexingFiltersChecker.run(IndexingFiltersChecker.java:127)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at
> org.apache.nutch.indexer.IndexingFiltersChecker.main(IndexingFiltersChecker.java:370)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)