On 6/24/07, karan <[EMAIL PROTECTED]> wrote:
> hi sir
>
> i am using the nutch-0.9 version...
>
> the stack trace is as follows
> 2007-06-24 03:24:53,023 ERROR [jsp] - Servlet.service() for servlet jsp
> threw exception
> java.lang.NullPointerException
> at org.apache.nutch.searcher.QueryFilters.filter(QueryFilters.java
> :109)
> at org.apache.nutch.searcher.IndexSearcher.search(IndexSearcher.java
> :94)
> at org.apache.nutch.searcher.NutchBean.search(NutchBean.java:250)
> at org.apache.jsp.search_jsp._jspService(search_jsp.java:259)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> :98)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at org.apache.jasper.servlet.JspServletWrapper.service(
> JspServletWrapper.java:328)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> JspServlet.java:315)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:269)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:188)
> at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:210)
> at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:174)
> at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:117)
> at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:108)
> at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:151)
> at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:870)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:665)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:528)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:81)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:685)
> at java.lang.Thread.run(Thread.java:595)
>
Is your plugin a query filter? If so, remember that you have to name
the fields that you are going to use in your plugin. For example, this
is part of plugin.xml file from query-url.
<extension id="org.apache.nutch.searcher.url.URLQueryFilter"
name="Nutch URL Query Filter"
point="org.apache.nutch.searcher.QueryFilter">
<implementation id="URLQueryFilter"
class="org.apache.nutch.searcher.url.URLQueryFilter">
<parameter name="fields" value="url"/>
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^ -->
</implementation>
</extension>
You have to define the parameters like the one above.
>
>
>
> On 6/24/07, Doğacan Güney <[EMAIL PROTECTED]> wrote:
> >
> > On 6/24/07, karan <[EMAIL PROTECTED]> wrote:
> > > hey...
> > >
> > > thnx for reply tomcat in run mode does generate exceptions at the
> > terminal
> > > :)..and the output shoes the plugin is in the registered list of plugins
> > and
> > > the exception that is generated is as follows.
> > > and the error message that is generated is
> > >
> > > 2007-06-24 03:14:47,918 ERROR [jsp] - Servlet.service() for servlet jsp
> > > threw exception
> > > java.lang.NullPointerException
> >
> > There should be more to it... Can you please also send the stack
> > trace? Also, which version of nutch are you using?
> >
> > >
> > > dont have any idea why is this happenin :( can u plz help
> > >
> > >
> > >
> > > On 6/24/07, Doğacan Güney <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 6/24/07, karan <[EMAIL PROTECTED]> wrote:
> > > > > hi
> > > > >
> > > > > i just tried to build the recommended plugin that is given in the
> > plugin
> > > > > writing example when i included the plugin in the
> > plugin.includesproperty
> > > > > the searc.jsp nothing is displayed just an empty html page
> > > > >
> > > > > i m not able to configure what is happening :( when i remove the
> > > > recommended
> > > > > plugin from there the search.jsp page is displayed normally
> > > >
> > > > If you are using tomcat, please start it in 'run' mode(./catalina.sh
> > > > run) and check if tomcat prints an exception.
> > > >
> > > > >
> > > > > please help its really urgent
> > > > >
> > > >
> > > >
> > > > --
> > > > Doğacan Güney
> > > >
> > >
> >
> >
> > --
> > Doğacan Güney
> >
>
--
Doğacan Güney
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general