Servlet Error: NullPointer

An unexpected servlet error has occurred.

Stack Trace:



java.lang.NullPointerException at java.lang.String.compareTo(String.java:1155) at org.apache.lucene.index.TermBuffer.compareTo(TermBuffer.java:35) at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:149) at org.apache.lucene.index.TermInfosReader.scanEnum(TermInfosReader.java:163) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:152) at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:51) at org.apache.lucene.index.IndexReader.termPositions(IndexReader.java:507) at org.apache.lucene.limit.LimIndexReader.termPositions(LimIndexReader.java:250) at org.apache.lucene.search.spans.SpanTermQuery$1.<init>(SpanTermQuery.java:94) at org.apache.lucene.search.spans.SpanTermQuery.getSpans(SpanTermQuery.java:92) at org.apache.lucene.search.spans.SpanOrQuery$1.<init>(SpanOrQuery.java:161) at org.apache.lucene.search.spans.SpanOrQuery.getSpans(SpanOrQuery.java:153) at org.apache.lucene.search.spans.SpanWeight.scorer(SpanWeight.java:74) at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:355) at org.apache.lucene.search.RecordingSearcher.search(RecordingSearcher.java:89) at org.cdlib.xtf.textEngine.DefaultQueryProcessor.processRequest(DefaultQueryProcessor.java:310) at org.cdlib.xtf.crossQuery.CrossQuery.apply(CrossQuery.java:206) at org.cdlib.xtf.crossQuery.CrossQuery.doGet(CrossQuery.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) at org.cdlib.xtf.servletBase.TextServlet.service(TextServlet.java:442) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:750)