组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Vijay Mudivedu
Upgrade to 6.1.1ga2 stuck at Lucene search
2012年9月20日 上午1:56
答复

Vijay Mudivedu

等级: New Member

帖子: 21

加入日期: 2011年7月18日

最近的帖子

Hi,

I am trying to upgrading the liferay portal to 6.1.1ga2 from the existing version 6.0.6 and I am stuck at lucene search last 1 week.

There are different causes being specified here in the logs with bunch of Null pointer exceptions.
  • Why are these errors pop-ing up?
  • What is the work around?
  • How do we combat errors due to Lucene search during the upgrade?



09:30:27,892 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@15d2b9f
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@15d2b9f
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 23
at org.apache.poi.util.LittleEndian.getLong(LittleEndian.java:146)
at org.apache.poi.util.LittleEndian.getDouble(LittleEndian.java:161)
at org.apache.poi.hdgf.chunks.Chunk.processCommands(Chunk.java:175)
at org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:180)
at org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:59)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:93)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:100)
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:95)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:52)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:49)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:192)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:32:14,185 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@ce3281
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@ce3281
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 23
at org.apache.poi.util.LittleEndian.getLong(LittleEndian.java:146)
at org.apache.poi.util.LittleEndian.getDouble(LittleEndian.java:161)
at org.apache.poi.hdgf.chunks.Chunk.processCommands(Chunk.java:175)
at org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:180)
at org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:59)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:93)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:100)
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:95)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:52)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:49)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:192)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:32:16,669 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@b15ad3
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@b15ad3
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.apache.poi.xwpf.model.XWPFCommentsDecorator.<init>(XWPFCommentsDecorator.java:44)

at org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractParagraph(XWPFWordExtractorDecorator.java:180)
at org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractIBodyText(XWPFWordExtractorDecorator.java:85)
at org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractTable(XWPFWordExtractorDecorator.java:207)
at org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractIBodyText(XWPFWordExtractorDecorator.java:89)
at org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.buildXHTML(XWPFWordExtractorDecorator.java:74)
at org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.getXHTML(AbstractOOXMLExtractor.java:99)
at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:83)
at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:67)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:35:07,106 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@68db79
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@68db79
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 198
at org.apache.poi.hwpf.model.StyleSheet.getCharacterStyle(StyleSheet.java:315)

at org.apache.poi.hwpf.model.CHPX.getCharacterProperties(CHPX.java:60)
at org.apache.poi.hwpf.usermodel.CharacterRun.<init>(CharacterRun.java:98)
at org.apache.poi.hwpf.usermodel.Range.getCharacterRun(Range.java:797)
at org.apache.poi.hwpf.model.PicturesTable.getAllPictures(PicturesTable.java:191)
at org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:430)
at org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:420)
at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:75)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:182)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:35:07,797 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.OfficeParser@1312519
org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.microsoft.OfficeParser@1312519
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:203)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:99)
at org.apache.tika.io.TikaInputStream.read(TikaInputStream.java:574)
at org.apache.tika.io.ProxyInputStream.read(ProxyInputStream.java:99)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.tika.io.IOUtils.copyLarge(IOUtils.java:957)
at org.apache.tika.io.IOUtils.copy(IOUtils.java:931)
at org.apache.tika.io.TikaInputStream.getFile(TikaInputStream.java:507)
at org.apache.tika.detect.POIFSContainerDetector.getTopLevelNames(POIFSContainerDetector.java:137)
at org.apache.tika.detect.POIFSContainerDetector.detect(POIFSContainerDetector.java:96)
at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:60)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:126)
at org.apache.tika.parser.DelegatingParser.parse(DelegatingParser.java:72)
at org.apache.tika.extractor.ParsingEmbeddedDocumentExtractor.parseEmbedded(ParsingEmbeddedDocumentExtractor.java:95)
at org.apache.tika.parser.microsoft.AbstractPOIFSExtractor.handleEmbeddedResource(AbstractPOIFSExtractor.java:74)
at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:52)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:185)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:35:15,447 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@a5852d
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@a5852d
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Illegal offset 8 (String data is of length 8)
at org.apache.poi.util.StringUtil.getFromUnicodeLE(StringUtil.java:70)

at org.apache.poi.hdgf.chunks.Chunk.processCommands(Chunk.java:203)
at org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:180)
at org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:59)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:93)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:100)
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:95)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:52)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:49)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:192)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:35:16,679 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@6493a3
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@6493a3
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: A sheet hyperlink must either have a location, or a relationship. Found:
<xml-fragment ref="C3" display="https://{baseurl}/support/orderstatus/v2/orders{.xml or.json}?searchType={SEARCHTYPE}&amp;referenceValue={SEARCHVALUE}&amp;verificationType={VERIFYTYPE}&amp;verifyValue={VERIFYVALUE}&amp;c={ISOCOUNTRYCODE}&amp;l={ISOLANGUAGECODE}&amp;buid={DELLBUSINESSUNITID}&amp;r={DELLREGIONID}&amp;s=" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"/>
at org.apache.poi.xssf.usermodel.XSSFHyperlink.<init>(XSSFHyperlink.java:72)
at org.apache.poi.xssf.usermodel.XSSFSheet.initHyperlinks(XSSFSheet.java:205)
at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:159)
at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:134)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:235)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:190)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:182)
at org.apache.poi.xssf.extractor.XSSFExcelExtractor.<init>(XSSFExcelExtractor.java:56)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:172)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:152)
at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:65)
at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:67)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:36:24,965 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@130254a
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@130254a
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed
at org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:121)
at org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:59)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:93)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:100)
at org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:100)
at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:95)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:52)
at org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:49)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:192)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
09:37:19,864 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Error creating OOXML extractor
org.apache.tika.exception.TikaException: Error creating OOXML extractor
at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:93)
at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:67)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file:///D:/Antenna%20Process%20Docs/Process%20Improvement%20Project%20Plan_v%201.0.mpp
at org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfAbsoluteUri(PackagePartName.java:426)
at org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfInvalidPartUri(PackagePartName.java:175)
at org.apache.poi.openxml4j.opc.PackagePartName.<init>(PackagePartName.java:83)
at org.apache.poi.openxml4j.opc.PackagingURIHelper.createPartName(PackagingURIHelper.java:470)
at org.apache.poi.POIXMLDocument.getTargetPart(POIXMLDocument.java:102)
at org.apache.poi.POIXMLDocument.getTargetPart(POIXMLDocument.java:91)
at org.apache.poi.xslf.XSLFSlideShow.<init>(XSLFSlideShow.java:83)
at org.apache.poi.xslf.extractor.XSLFPowerPointExtractor.<init>(XSLFPowerPointExtractor.java:52)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:187)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:152)
at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:65)
... 26 more
09:37:34,832 ERROR [com.liferay.portal.search.lucene.LuceneHelperImpl-1][FileImpl:321] org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@14d7b78
org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.ooxml.OOXMLParser@14d7b78
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:199)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
at org.apache.tika.Tika.parseToString(Tika.java:357)
at org.apache.tika.Tika.parseToString(Tika.java:386)
at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:317)
at com.liferay.portal.kernel.util.FileUtil.extractText(FileUtil.java:141)
at com.liferay.portal.kernel.search.DocumentImpl.addFile(DocumentImpl.java:98)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doGetDocument(DLIndexer.java:386)
at com.liferay.portal.kernel.search.BaseIndexer.getDocument(BaseIndexer.java:115)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:609)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFileEntries(DLIndexer.java:575)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:524)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:690)
at com.liferay.portlet.documentlibrary.util.DLIndexer.reindexFolders(DLIndexer.java:656)
at com.liferay.portlet.documentlibrary.util.DLIndexer.doReindex(DLIndexer.java:516)
at com.liferay.portal.kernel.search.BaseIndexer.reindex(BaseIndexer.java:363)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:158)
at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:124)
at com.liferay.portal.search.lucene.LuceneIndexer.reindex(LuceneIndexer.java:64)
at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:72)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: A sheet hyperlink must either have a location, or a relationship. Found:
<xml-fragment ref="H2" display="- &lt;CALL_COMPLETE_REQUEST>" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"/>

at org.apache.poi.xssf.usermodel.XSSFHyperlink.<init>(XSSFHyperlink.java:72)
at org.apache.poi.xssf.usermodel.XSSFSheet.initHyperlinks(XSSFSheet.java:205)
at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:159)
at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:134)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:235)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:190)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:182)
at org.apache.poi.xssf.extractor.XSSFExcelExtractor.<init>(XSSFExcelExtractor.java:56)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:172)
at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:152)
at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:65)
at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:67)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
... 24 more
Hitoshi Ozawa
RE: Upgrade to 6.1.1ga2 stuck at Lucene search
2012年9月22日 下午10:05
答复

Hitoshi Ozawa

等级: Liferay Legend

帖子: 7990

加入日期: 2010年3月23日

最近的帖子

Do you have some Office XP documents? Those may be causing problems with Tika.

I'm not sure if this will work but try using the Solr plugin. It may help if Solr plugin is using more recent version of Apache tika.
Jignesh Vachhani
RE: Upgrade to 6.1.1ga2 stuck at Lucene search
2013年2月27日 上午12:59
答复

Jignesh Vachhani

等级: Liferay Master

帖子: 775

加入日期: 2008年3月10日

最近的帖子

Hi Hitoshi

Do you have any idea to resolve the similar issue which i am facing here : http://www.liferay.com/community/forums/-/message_boards/message/21836080