[opencms-dev] Lucence search error (opencms 6 rc2)

David db92rj45 at gmail.com
Sun Jun 26 01:46:34 CEST 2005


Hi,
 I have just upgraded my opencms installation with the new opencms rc 2. It 
works fine except for some errors in rebuilding the site index. Out of about 
240 files in an offline project, only 3 files were not indexable and the 
errors are detailed below. For some reasons errors only occur with these 
specific .doc and .ppt files (other files of the same type were indexed ok). 

 Your help is greatly appreciated.
 Thanks & Best Regards,
David.
 <<<<< START OF ERROR >>>>>>>>>>>>>>>
( 38 ) Indexing file chapfigures.doc ... 
failedException org.opencms.search.CmsIndexException: Extracting text from 
resource "/sites/mysite/content/chapfigures.doc" failed.
at org.opencms.search.documents.CmsDocumentMsWord.extractContent(
CmsDocumentMsWord.java:76)
at org.opencms.search.documents.A_CmsVfsDocument.newInstance
(A_CmsVfsDocument.java:154)
at org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:136)
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:427)
at org.textmining.text.extraction.WordExtractor.extractText(
WordExtractor.java:150)
at org.opencms.search.extractors.CmsExtractorMsWord.extractText(
CmsExtractorMsWord.java:78)
at org.opencms.search.extractors.A_CmsTextExtractor.extractText
(A_CmsTextExtractor.java:69)
at org.opencms.search.extractors.A_CmsTextExtractor.extractText
(A_CmsTextExtractor.java:59)
at org.opencms.search.documents.CmsDocumentMsWord.extractContent(
CmsDocumentMsWord.java:74)
... 2 more
( 154 ) Indexing file file2.ppt ... 
failedException org.opencms.file.CmsVfsResourceNotFoundException: Error 
reading file "/sites/mysite/content/file2.ppt". Given filter was "
org.opencms.file.CmsResourceFilter at c5186e".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(
CmsVfsResourceNotFoundException.java:73)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:212)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:196)
at org.opencms.db.CmsSecurityManager.readFile(CmsSecurityManager.java:3078)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2070)
at org.opencms.file.CmsFile.upgrade(CmsFile.java:186)
at org.opencms.search.documents.A_CmsVfsDocument.readFile
(A_CmsVfsDocument.java:315)
at org.opencms.search.documents.CmsDocumentMsPowerPoint.extractContent(
CmsDocumentMsPowerPoint.java:72)
at org.opencms.search.documents.A_CmsVfsDocument.newInstance
(A_CmsVfsDocument.java:154)
at org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:136)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read 
file with structure ID "3228c04e-e5d0-11d9-bcef-0004235bb6ba".
at org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:1045)
at org.opencms.db.CmsDriverManager.readFile(CmsDriverManager.java:4588)
at org.opencms.db.CmsSecurityManager.readFile(CmsSecurityManager.java:3076)
... 6 more
( 164 ) Indexing file file3.ppt ... Exception 
org.opencms.file.CmsVfsResourceNotFoundException: Error reading file 
"/sites/mysite/content/file3.ppt". Given filter was "
org.opencms.file.CmsResourceFilter at c5186e".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(
CmsVfsResourceNotFoundException.java:73)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:212)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:196)
at org.opencms.db.CmsSecurityManager.readFile(CmsSecurityManager.java:3078)
at org.opencms.file.CmsObject.readFile(CmsObject.java:2070)
at org.opencms.file.CmsFile.upgrade(CmsFile.java:186)
at org.opencms.search.documents.A_CmsVfsDocument.readFile
(A_CmsVfsDocument.java:315)
at org.opencms.search.documents.CmsDocumentMsPowerPoint.extractContent(
CmsDocumentMsPowerPoint.java:72)
at org.opencms.search.documents.A_CmsVfsDocument.newInstance
(A_CmsVfsDocument.java:154)
at org.opencms.search.CmsIndexingThread.run(CmsIndexingThread.java:136)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read 
file with structure ID "3228c04e-e5d0-11d9-bcef-0004235bb6ba".
at org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:1045)
at org.opencms.db.CmsDriverManager.readFile(CmsDriverManager.java:4588)
at org.opencms.db.CmsSecurityManager.readFile(CmsSecurityManager.java:3076)
... 6 more
<<<<<< END OF ERROR >>>>>>>>>>>>>>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050626/83697d83/attachment.htm>


More information about the opencms-dev mailing list