eZ Community » Forums » Extensions » Exceptions when updating eZ Find index
expandshrink

Exceptions when updating eZ Find index

Exceptions when updating eZ Find index

Tuesday 08 March 2011 4:30:59 pm

I'm currently investigating a problem where not all content of a site is indexed by eZ Find. When I run updatesearchindexsolr.php, the script generates errors like this:

<code>
...................................................................... 89.45%...................................................................... 90.16%........................................Comitting and optimizing index ...
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.
Did not index content correctly: array ()
Creating a new thread: 18331.............................. 90.86%
...................................................................... 89.45%...................................................................... 90.16%........................................Comitting and optimizing index ...
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.
Did not index content correctly: array ()
Creating a new thread: 18331.............................. 90.86%
</code>

And on it goes. When I check SOLR I see some SEVERE problems in the output, like these:

<code>

SEVERE: java.lang.NullPointerException

at org.apache.solr.search.FastLRUCache.getStatistics(FastLRUCache.java:252)

at org.apache.solr.search.FastLRUCache.toString(FastLRUCache.java:280)

at java.lang.StringBuilder.append(libgcj.so.90)

at org.apache.solr.search.SolrIndexSearcher.warm(SolrIndexSearcher.java:1480)

at org.apache.solr.core.SolrCore$2.call(SolrCore.java:1127)

at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)

at java.util.concurrent.FutureTask.run(libgcj.so.90)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)

at java.lang.Thread.run(libgcj.so.90)

SEVERE: java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask$Sync.innerGet(libgcj.so.90)

at java.util.concurrent.FutureTask.get(libgcj.so.90)

at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:439)

at org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:85)

at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:169)

at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)

at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)

at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)

at org.apache.solr.core.SolrCore.execute(SolrCore.java:1321)

at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)

at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.Server.handle(Server.java:285)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)

at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)

at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

Caused by: java.lang.NullPointerException

at org.apache.solr.search.FastLRUCache.getStatistics(FastLRUCache.java:252)

at org.apache.solr.search.FastLRUCache.toString(FastLRUCache.java:280)

at java.lang.StringBuilder.append(libgcj.so.90)

at org.apache.solr.search.SolrIndexSearcher.close(SolrIndexSearcher.java:223)

at org.apache.solr.core.SolrCore$6.close(SolrCore.java:1243)

at org.apache.solr.util.RefCounted.decref(RefCounted.java:57)

at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1189)

at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)

at java.util.concurrent.FutureTask.run(libgcj.so.90)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)

at java.lang.Thread.run(libgcj.so.90)

SEVERE: org.apache.solr.common.SolrException: Document [null] missing required field: meta_guid_ms

at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:337)

at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60)

at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:139)

at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69)

at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54)

at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)

at org.apache.solr.core.SolrCore.execute(SolrCore.java:1321)

at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)

at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)

at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)

at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)

at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)

at org.mortbay.jetty.Server.handle(Server.java:285)

at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)

at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641)

at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:202)

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)

at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)</code>

Especially the following line attracts my attention, but I don't have a clue where to look further:

Document [null] missing required field: meta_guid_ms

These errors are also generated when search queries are given. Using eZ Find 2.3 on eZ Publish 4.3. All hints would be very much appreciated!

Modified on Tuesday 08 March 2011 4:32:10 pm by Sander van den Akker

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from