[opencms-dev] Search index management
believe at estation
believe at visualiza.com.au
Mon Aug 23 10:05:34 CEST 2004
I am using OpenCMS 5.3.6 and have a problem with the Search feature under
Search index management. I keep getting the following exception when trying
to perform any type of search. Anyone experience similar, before I attempt
to debug?
Error:
org.opencms.main.CmsException: [org.opencms.search.CmsSearchIndex] Search on
C:\apache\tomcat\visualiza\webapps\opencms536\WEB-INF\index\Online project
(VFS) failed. [Code 0 - Unknown exception]
Root cause was: java.lang.ArrayIndexOutOfBoundsException: -1
org.opencms.main.CmsException: [org.opencms.search.CmsSearchIndex] Search on
C:\apache\tomcat\visualiza\webapps\opencms536\WEB-INF\index\Online project
(VFS) failed. [Code 0 - Unknown exception]
Root cause was: java.lang.ArrayIndexOutOfBoundsException: -1
at org.opencms.search.CmsSearchIndex.search(CmsSearchIndex.java:506)
at org.opencms.search.CmsSearch.getSearchResult(CmsSearch.java:336)
at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.administration.searc
hindex.search.index_html_jsp._jspService(index_html_jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
98)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:703)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:589)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:358)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:163)
at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:406)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:294)
at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:426)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:383)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:4
54)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1307)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:103)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:534)
>-----------
>Root cause:
>java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.Vector.elementAt(Vector.java:434)
> at
org.apache.lucene.queryParser.QueryParser.addClause(QueryParser.java:181)
> at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:493)
> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:108)
> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:87)
> at org.opencms.search.CmsSearchIndex.search(CmsSearchIndex.java:424)
> at org.opencms.search.CmsSearch.getSearchResult(CmsSearch.java:336)
> at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.administration.searc
hindex.search.index_html_jsp._jspService(index_html_jsp.java:105)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
98)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
> at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:703)
> at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:589)
> at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)
> at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:358)
> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:163)
> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:406)
> at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:294)
> at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:426)
> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:383)
> at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:4
54)
> at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1307)
> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:103)
> at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:114)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
> at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
> at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
> at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
> at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
> at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
> at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
> at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
> at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
> at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
> at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
> at java.lang.Thread.run(Thread.java:534)
More information about the opencms-dev
mailing list