Lucene Indexing Sporadically Fails With The Error java.util.NoSuchElementException (Doc ID 1642136.1)

Last updated on APRIL 01, 2014

Applies to:

Oracle Knowledge - Version 8.2 to 8.4.6 [Release 8.2 to 8.4]
Information in this document applies to any platform.

Symptoms

Lucene indexing sporadically fails with an error message of the following form appearing within the associated IMWS wrapper log:

[http-8227-3] 2014-03-12 07:00:04,204 ERROR com.inquira.imwows.application.IMWebServiceLog  - Message: IndexServicesImpl.indexContentTextPubRecord() . Cause:
Exception Message: [http-8227-3 @ Wed Mar 12 07:00:04 SGT 2014]
StackTrace:
com.inquira.im.services.IndexServiceException: [http-8227-3 @ Wed Mar 12 07:00:04 SGT 2014]
at com.inquira.im.services.impl.AbstractIndexService.indexContentTextPubRecord(AbstractIndexService.java:82)
at com.inquira.imwows.impl.IndexServicesImpl.indexContentTextPubRecord(IndexServicesImpl.java:23)
at sun.reflect.GeneratedMethodAccessor143.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at com.webobjects.appserver._private.WOWebService.performActionNamed(WOWebService.java:437)
at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259)
at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:161)
at com.webobjects.appserver._private.WOWebServiceRequestHandler.handleRequest(WOWebServiceRequestHandler.java:109)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1698)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1737)
at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1702)
at com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:131)
at com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:727)
at com.webobjects.jspservlet.WOServletAdaptor.doPost(WOServletAdaptor.java:695)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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 com.inquira.imwows.filters.ForceUTF8RequestEncodingFilter.doFilter(ForceUTF8RequestEncodingFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.util.NoSuchElementException
at java.util.LinkedList.remove(LinkedList.java:788)
at java.util.LinkedList.removeFirst(LinkedList.java:134)
at com.inquira.services.search.LuceneIndexerRequestManager$Queue.dequeue(LuceneIndexerRequestManager.java:399)
at com.inquira.services.search.LuceneIndexerRequestManager.dispatchRequest(LuceneIndexerRequestManager.java:79)
at com.inquira.services.search.LuceneIndexerRequestManager.requestService(LuceneIndexerRequestManager.java:65)
at com.inquira.im.services.impl.IndexServiceHelper.indexContentTextPubRecord(IndexServiceHelper.java:40)
at com.inquira.im.services.impl.AbstractIndexService._indexContentTextPubRecord(AbstractIndexService.java:94)
at com.inquira.im.services.impl.AbstractIndexService.indexContentTextPubRecord(AbstractIndexService.java:79)
... 39 more

Once the error has arisen no further InfoManager Lucene indexing will take place.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms