Search Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Search Error

Vallejos, Andrew

I am receiving the following error when I try to run the quick search on my dev machine.

 

-Andrew

 

26/07/11,07:43:45 ERROR org.intermine.web.struts.InterMineExceptionHandler     - java.lang.NullPointerException

        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:568)

        at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)

        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)

        at org.apache.lucene.index.IndexReader.open(IndexReader.java:202)

        at org.intermine.web.search.KeywordSearch.initKeywordSearch(KeywordSearch.java:1116)

        at org.intermine.web.struts.KeywordSearchResultsController.execute(KeywordSearchResultsController.java:85)

        at org.apache.struts.tiles.actions.TilesAction.execute(TilesAction.java:75)

        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)

        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)

        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)

        at org.apache.struts.tiles.UrlController.execute(UrlController.java:91)

        at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:873)

        at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)

        at org.apache.jsp.layout_jsp._jspx_meth_tiles_005fget_005f1(layout_jsp.java:860)

        at org.apache.jsp.layout_jsp._jspService(layout_jsp.java:204)

        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)

        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)

        at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)

        at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)

        at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:339)

        at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)

        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)

        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)

        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

        at java.lang.Thread.run(Thread.java:636)

 

 

======================

Andrew Vallejos

Web Developer II

Biotechnology and Bioengineering Center

Medical College of Wisconsin

414-955-4104

[hidden email]


_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Search Error

Julie Sullivan
Hi Andrew

I got that error once, I think the problem was I had run out of disk space as
the index was quite large.  I think I made room and re-released my webapp to
fix.  Are you okay on space on your dev server?

 From the error message it looks like it can't find the index.  The index is
stored in your database.  When you release a webapp, it's written to disk and
loaded into memory.  You can set where it is written to disk in the config file
(keyword_search.properties).

Julie

On 07/26/2011 01:46 PM, Vallejos, Andrew wrote:

> I am receiving the following error when I try to run the quick search on
> my dev machine.
>
>
>
> -Andrew
>
>
>
> 26/07/11,07:43:45 ERROR
> org.intermine.web.struts.InterMineExceptionHandler     -
> java.lang.NullPointerException
>
>          at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.j
> ava:568)
>
>          at
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
>
>          at
> org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
>
>          at
> org.apache.lucene.index.IndexReader.open(IndexReader.java:202)
>
>          at
> org.intermine.web.search.KeywordSearch.initKeywordSearch(KeywordSearch.j
> ava:1116)
>
>          at
> org.intermine.web.struts.KeywordSearchResultsController.execute(KeywordS
> earchResultsController.java:85)
>
>          at
> org.apache.struts.tiles.actions.TilesAction.execute(TilesAction.java:75)
>
>          at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
> ocessor.java:421)
>
>          at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 226)
>
>          at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>
>          at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:290)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.java:630)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
> atcher.java:535)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
> cher.java:472)
>
>          at
> org.apache.struts.tiles.UrlController.execute(UrlController.java:91)
>
>          at
> org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTa
> g.java:873)
>
>          at
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
>
>          at
> org.apache.jsp.layout_jsp._jspx_meth_tiles_005fget_005f1(layout_jsp.java
> :860)
>
>          at org.apache.jsp.layout_jsp._jspService(layout_jsp.java:204)
>
>          at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>          at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:374)
>
>          at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>
>          at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:290)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
> her.java:630)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
> nDispatcher.java:436)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
> atcher.java:374)
>
>          at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
> cher.java:302)
>
>          at
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
> a:1056)
>
>          at
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
> essor.java:261)
>
>          at
> org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Til
> esRequestProcessor.java:237)
>
>          at
> org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForw
> ard(TilesRequestProcessor.java:339)
>
>          at
> org.apache.struts.action.RequestProcessor.processForward(RequestProcesso
> r.java:553)
>
>          at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 211)
>
>          at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>
>          at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:290)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>          at
> com.planetj.servlet.filter.compression.CompressingFilter.doFilter(Compre
> ssingFilter.java:270)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:235)
>
>          at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206)
>
>          at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:233)
>
>          at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
>
>          at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :128)
>
>          at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :102)
>
>          at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109)
>
>          at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 86)
>
>          at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>
>          at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>
>          at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
>
>          at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 697)
>
>          at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.
> java:889)
>
>          at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:690)
>
>          at java.lang.Thread.run(Thread.java:636)
>
>
>
>
>
> ======================
>
> Andrew Vallejos
>
> Web Developer II
>
> Biotechnology and Bioengineering Center
>
> Medical College of Wisconsin
>
> 414-955-4104
>
> [hidden email]
>
>
>
>
>
> _______________________________________________
> dev mailing list
> [hidden email]
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
http://mail.intermine.org/cgi-bin/mailman/listinfo/dev