Java Mailing List Archive

http://www.java2.5341.com/

Home » nutch-user.lucene »

No search results on Tomcat (java.lang.NullPointerException)

Michael R.

2010-05-03


Author LoginPost Reply
Hello,

I am running Nutch 1.0 and 1.1dev on a FreeBSD machine with Tomcat.
if i search from the command line i get i get results with nutch but
with Tomcat the following error:


2010-05-03 13:56:02,531 INFO NutchBean - query request from
192.168.1.10
2010-05-03 13:56:02,531 INFO NutchBean - query: test
2010-05-03 13:56:02,531 INFO NutchBean - lang: en
2010-05-03 13:56:02,532 INFO NutchBean - searching for 20 raw hits

May 3, 2010 1:56:02 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
  at
org.apache.nutch.searcher.FetchedSegments.getSummary (FetchedSegments.java:260)
  at org.apache.nutch.searcher.FetchedSegments
$SummaryTask.call(FetchedSegments.java:63)
  at org.apache.nutch.searcher.FetchedSegments
$SummaryTask.call(FetchedSegments.java:53)
  at java.util.concurrent.FutureTask
$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run (FutureTask.java:138)
  at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
  at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
  at java.lang.Thread.run (Thread.java:619)

Can anybody help me?

Thanks

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.