Servlet Error: NullPointer

An unexpected servlet error has occurred.

Message:



Cannot invoke "java.io.RandomAccessFile.seek(long)" because "this.edMapFile" is null

Stack Trace:



java.lang.NullPointerException: Cannot invoke "java.io.RandomAccessFile.seek(long)" because "this.edMapFile" is null at org.apache.lucene.spelt.SpellReader.readEdKey(SpellReader.java:290) at org.apache.lucene.spelt.SpellReader.findCloseWords(SpellReader.java:366) at org.apache.lucene.spelt.SpellReader.suggestSimilar(SpellReader.java:443) at org.apache.lucene.spelt.SpellReader.subPair(SpellReader.java:703) at org.apache.lucene.spelt.SpellReader.subPairs(SpellReader.java:663) at org.apache.lucene.spelt.SpellReader.suggestKeywords(SpellReader.java:520) at org.cdlib.xtf.textEngine.DefaultQueryProcessor.spellCheck(DefaultQueryProcessor.java:475) at org.cdlib.xtf.textEngine.DefaultQueryProcessor.processRequest(DefaultQueryProcessor.java:415) 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:529) at org.cdlib.xtf.servletBase.TextServlet.service(TextServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:761) 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:388) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) 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.base/java.lang.Thread.run(Thread.java:840)