I have tried running nutch and having it dump the items found into a solr index:

./bin/nutch crawl urls/ -solr http://localhost/solr -threads 2 -depth 2 -topN 5

I get this exception and it stops running:

Exception in thread "main" java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:394)
        at java.util.Properties.setProperty(Properties.java:143)
        at org.apache.hadoop.conf.Configuration.set(Configuration.java:438)
        at 
org.apache.nutch.indexer.IndexerJob.createIndexJob(IndexerJob.java:128)
        at 
org.apache.nutch.indexer.solr.SolrIndexerJob.run(SolrIndexerJob.java:44)
        at org.apache.nutch.crawl.Crawler.runTool(Crawler.java:68)
        at org.apache.nutch.crawl.Crawler.run(Crawler.java:192)
        at org.apache.nutch.crawl.Crawler.run(Crawler.java:250)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.nutch.crawl.Crawler.main(Crawler.java:257)

Any ideas on where to start looking?    Looks like it is breaking on
adding things to the Solr Indexer -- maybe there are entries in a
config file that I need to update?

Thanks!

-- Chris

Reply via email to