Eric, you should setup the searcher.dir property in nutch-site.xml to point to the crawl directory,. See nutch-default.xml for an explanation of this config property.
Rgrds, Thomas On 7/22/06, Eric Wu <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to Nutch and I got a null pointer exception whenI try to submit the > search through demo app. > Please see the error message below. I have modified the demo app to run in > its webapp context other than in ROOT context. > The first page shown and I put in the keyword to search and got the error. > Did I do somthing wrong? Please help. Thanks. > > - Eric > > ++++ > > *type* Exception report > > *message* > > *description* *The server encountered an internal error () that prevented it > from fulfilling this request.* > > *exception* > > org.apache.jasper.JasperException > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > *root cause* > > java.lang.NullPointerException > org.apache.nutch.searcher.NutchBean.init(NutchBean.java:96) > org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:82) > org.apache.nutch.searcher.NutchBean > .<init>(NutchBean.java:72) > org.apache.nutch.searcher.NutchBean.get(NutchBean.java:64) > org.apache.jsp.search_jsp._jspService(org.apache.jsp.search_jsp:112) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java > :97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java > :291) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > *note* *The full stack trace of the root cause is available in the Apache > Tomcat/5.5.9 logs.* > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
