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:157) at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:358) at org.apache.lucene.limit.LimIndexReader.docFreq(LimIndexReader.java:166) at org.apache.lucene.search.IndexSearcher.docFreq(IndexSearcher.java:79) at org.apache.lucene.search.Similarity.idf(Similarity.java:457) at org.apache.lucene.search.spans.SpanTermQuery.getSpans(SpanTermQuery.java:87) at org.apache.lucene.search.spans.SpanWeight.scorer(SpanWeight.java:69) 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:624) at org.cdlib.xtf.servletBase.TextServlet.service(TextServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.ExpiresFilter.doFilter(ExpiresFilter.java:1201) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) 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:748)