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.NearSpans.<init>(NearSpans.java:278) at org.apache.lucene.search.spans.SpanNearQuery.getSpans(SpanNearQuery.java:154) at org.apache.lucene.search.spans.SpanWeight.scorer(SpanWeight.java:69) 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:489) at org.cdlib.xtf.servletBase.TextServlet.service(TextServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:583) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:156) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:679) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1690) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.lang.Thread.run(Thread.java:750)