Servlet Error: Runtime

An unexpected servlet error has occurred.

Message:



Cannot getTextTo() backward position

Stack Trace:



java.lang.RuntimeException: Cannot getTextTo() backward position at org.apache.lucene.chunk.ChunkMarkPos.getTextTo(ChunkMarkPos.java:79) at org.cdlib.xtf.textEngine.SnippetMaker$1.copyUpTo(SnippetMaker.java:229) at org.cdlib.xtf.textEngine.SnippetMaker$1.endSpan(SnippetMaker.java:274) at org.apache.lucene.mark.ContextMarker.emitMarks(ContextMarker.java:411) at org.apache.lucene.mark.ContextMarker.mark(ContextMarker.java:242) at org.apache.lucene.mark.ContextMarker.markField(ContextMarker.java:192) at org.cdlib.xtf.textEngine.SnippetMaker.makeSnippets(SnippetMaker.java:214) at org.cdlib.xtf.textEngine.DocHitImpl.snippet(DocHitImpl.java:424) at org.cdlib.xtf.textEngine.QueryResult.structureDocHits(QueryResult.java:259) at org.cdlib.xtf.textEngine.QueryResult.hitsToString(QueryResult.java:142) at org.cdlib.xtf.crossQuery.CrossQuery.formatHits(CrossQuery.java:497) at org.cdlib.xtf.crossQuery.CrossQuery.apply(CrossQuery.java:209) at org.cdlib.xtf.crossQuery.CrossQuery.doGet(CrossQuery.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.cdlib.xtf.servletBase.TextServlet.service(TextServlet.java:449) 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.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347) at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:227) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:448) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:403) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2213) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)