http://wiki.apache.org/nutch/nutch-0.8-dev/bin/nutch_readdb
Check ur configuration files. Then inject and then again run command. Most of the time its a configuration problem... On 12/18/10, Paul Lypaczewski [via Lucene] <[email protected]> wrote: > > > Hi > I tried to inject a url with : > bin/nutch inject crawl/crawldb urls > > Then I try to see if injection succeed with: > bin/nutch readdb crawl/crawldb -stats > > I got the following Exception: > CrawlDb statistics start: crawl/crawldb > Statistics for CrawlDb: crawl/crawldb > Exception in thread "main" java.lang.NullPointerException > at > org.apache.nutch.crawl.CrawlDbReader.processStatJob(CrawlDbReader.java:352) > at org.apache.nutch.crawl.CrawlDbReader.main(CrawlDbReader.java:502) > > I also tried: > bin/nutch readdb crawl/crawldb -dump dump > > but the dumped file is empty. > > Did I do anything wrong? Any advice is appreciated. > Paul > > > > > ______________________________________ > View message @ > http://lucene.472066.n3.nabble.com/injected-urls-but-cannot-find-it-by-readdb-tp2109414p2109414.html > To start a new topic under Nutch - User, email > [email protected] > To unsubscribe from Nutch - User, visit > http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=603147&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw2MDMxNDd8LTIwOTgzNDQxOTY= -- Kumar Anurag ----- Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/injected-urls-but-cannot-find-it-by-readdb-tp2109414p2109891.html Sent from the Nutch - User mailing list archive at Nabble.com.

