Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Jignesh Vachhani
solr re-indexing issue
26 de Fevereiro de 2013 23:15
Resposta

Jignesh Vachhani

Ranking: Liferay Master

Mensagens: 785

Data de entrada: 10 de Março de 2008

Mensagens recentes

Hi All,

I am getting below error during solr re-indexing.

 1
 207:04:17,563 INFO  [http-bio-9080-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.softwarecatalog.util.SCIndexer completed in 0 seconds
 307:04:17,569 INFO  [http-bio-9080-exec-2][LuceneIndexer:155] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer started
 407:04:54,726 ERROR [http-bio-9080-exec-2][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@5c57b084
 5org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@5c57b084
 6        at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
 7        at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
 8        at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
 9        at org.apache.tika.Tika.parseToString(Tika.java:357)
10        at org.apache.tika.Tika.parseToString(Tika.java:386)
11        at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
12        at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
13        at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
14        at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
15        at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
16        at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
17        at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
18        at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
19        at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
20        at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexRoot(DLIndexer.java:759)
21        at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexRoot(DLIndexer.java:726)
22        at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:517)
23        at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
24        at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
25        at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
26        at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
27        at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:57)
28 
29        at java.lang.Thread.run(Thread.java:662)
30Caused by: java.lang.ArrayIndexOutOfBoundsException: 461
31        at org.apache.poi.hwpf.model.StyleSheet.getStyleDescription(StyleSheet.java:309)
32        at org.apache.tika.parser.microsoft.WordExtractor.handleParagraph(WordExtractor.java:150)
33        at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:81)
34        at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:182)
35        at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
36        ... 152 more
3707:04:55,015 INFO  [http-bio-9080-exec-2][LuceneIndexer:163] Reindexing with class com.liferay.portlet.documentlibrary.util.DLIndexer completed in 37 seconds


I tried to change poi.jar with latest version but didnt get any success...

Does anybody point out what could be the reson? Is it out of the box issue with Liferay EE 6.1.20 GA2 ?