cancel
Showing results for 
Search instead for 
Did you mean: 

reindexing causes exception in job ftsIndexerJobDetail

haroonzc
Champ in-the-making
Champ in-the-making
We have a problem with our installation and some one suggested to rebuild index as a work around we did that and during that job threw following exception

09:03:52,122 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.ftsIndexerJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.service.cmr.repository.ContentIOException: Failed to ope
n stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2007/7/5/9/3/2d4bcaba-2af8-11dc-9392-5390c16435ee.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_US]]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2007/7/5/9/3/2d4bcaba-2af8-11dc-9392-5390c16435ee.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_US]
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:337)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProperty(ADMLuceneIndexerImpl.java:893)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:547)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy9.index(Unknown Source)
        at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

It causes some of the nodes to become un accessable, e.g. I tried to save a file and it told n\me folder is read only but files was created anyhow with following contents


The node's content is missing:
   node: workspace://SpacesStore/996579b7-2b04-11dc-9392-5390c16435ee
   reader: null 
Please contact your system administrator.

30 REPLIES 30

gcoleman
Champ in-the-making
Champ in-the-making
Here is the latest error and leadup to same.

   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/05b3a8fd-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:23,137 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/22/9/19/a989dc41-d802-11db-a7d2-cd31c53d6036.bin
   random-access: true
12:03:23,584 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/05b3a8fd-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:23,585 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/05b3a8fd-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:23,694 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/23/16/58/ed389f2d-d90b-11db-8258-53eced397e0d.bin
   file: /data/alfresco/contentstore/2007/3/23/16/58/ed389f2d-d90b-11db-8258-53eced397e0d.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/23/16/58/ed389f2d-d90b-11db-8258-53eced397e0d.bin, mimetype=null, size=268288, encoding=UTF-8, locale=en_AU]
12:03:23,696 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/06091bfe-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:23,700 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/23/16/58/ed389f2d-d90b-11db-8258-53eced397e0d.bin
   random-access: true
12:03:23,859 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/06091bfe-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:23,867 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/06091bfe-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:23,931 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/23/16/58/f2fff5da-d90b-11db-8258-53eced397e0d.bin
   file: /data/alfresco/contentstore/2007/3/23/16/58/f2fff5da-d90b-11db-8258-53eced397e0d.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/23/16/58/f2fff5da-d90b-11db-8258-53eced397e0d.bin, mimetype=null, size=41472, encoding=UTF-8, locale=en_AU]
12:03:23,933 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/062d1ebf-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:23,933 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/23/16/58/f2fff5da-d90b-11db-8258-53eced397e0d.bin
   random-access: true
12:03:23,946 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/062d1ebf-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:23,952 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/062d1ebf-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,028 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/23/16/58/f7ee9fde-d90b-11db-8258-53eced397e0d.bin
   file: /data/alfresco/contentstore/2007/3/23/16/58/f7ee9fde-d90b-11db-8258-53eced397e0d.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/23/16/58/f7ee9fde-d90b-11db-8258-53eced397e0d.bin, mimetype=null, size=52224, encoding=UTF-8, locale=en_AU]
12:03:24,030 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/063bead0-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:24,030 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/23/16/58/f7ee9fde-d90b-11db-8258-53eced397e0d.bin
   random-access: true
12:03:24,040 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/063bead0-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,046 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/063bead0-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,152 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/23/16/59/11c21b6f-d90c-11db-8258-53eced397e0d.bin
   file: /data/alfresco/contentstore/2007/3/23/16/59/11c21b6f-d90c-11db-8258-53eced397e0d.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/23/16/59/11c21b6f-d90c-11db-8258-53eced397e0d.bin, mimetype=null, size=235008, encoding=UTF-8, locale=en_AU]
12:03:24,154 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/064efda1-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:24,155 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/23/16/59/11c21b6f-d90c-11db-8258-53eced397e0d.bin
   random-access: true
12:03:24,280 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/064efda1-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,281 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/064efda1-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,459 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/23/17/35/1d22c184-d911-11db-8258-53eced397e0d.bin
   file: /data/alfresco/contentstore/2007/3/23/17/35/1d22c184-d911-11db-8258-53eced397e0d.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/23/17/35/1d22c184-d911-11db-8258-53eced397e0d.bin, mimetype=null, size=370176, encoding=UTF-8, locale=en_AU]
12:03:24,463 DEBUG [content.filestore.FileContentStore] Created content writer:
   reader: ContentAccessor[ contentUrl=store://2007/3/23/17/35/1d22c184-d911-11db-8258-53eced397e0d.bin, mimetype=null, size=370176, encoding=UTF-8, locale=en_AU]
12:03:24,463 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/067dfce2-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:24,463 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/23/17/35/1d22c184-d911-11db-8258-53eced397e0d.bin
   random-access: true
12:03:24,481 DEBUG [content.filestore.FileContentWriter] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/067dfce2-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,482 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /usr/local/jakarta-tomcat-5.5.9/temp/Alfresco/2007/8/29/12/3/067dfce2-55d4-11dc-a24c-a53a2284c5ca.bin
   random-access: true
12:03:24,571 DEBUG [content.filestore.FileContentStore] Created content reader:
   url: store://2007/3/27/10/41/de79ccb3-dbfb-11db-a4b4-d525eb84bf17.bin
   file: /data/alfresco/contentstore/2007/3/27/10/41/de79ccb3-dbfb-11db-a4b4-d525eb84bf17.bin
   reader: ContentAccessor[ contentUrl=store://2007/3/27/10/41/de79ccb3-dbfb-11db-a4b4-d525eb84bf17.bin, mimetype=null, size=44008, encoding=UTF-8, locale=en_AU]
12:03:24,573 DEBUG [content.filestore.FileContentStore] Created content writer:
   writer: ContentAccessor[ contentUrl=store://2007/8/29/12/3/068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
12:03:24,573 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/27/10/41/de79ccb3-dbfb-11db-a4b4-d525eb84bf17.bin
   random-access: true
12:03:24,813 ERROR [quartz.core.JobRunShell] Job DEFAULT.ftsIndexerJobDetail threw an unhandled Exception:
org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2007/8/29/12/3/068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:337)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProperty(ADMLuceneIndexerImpl.java:893)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:547)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy13.index(Unknown Source)
        at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.UnsupportedOperationException: The content never exists
        at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:59)
        at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:226)
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:330)
        … 18 more
12:03:24,823 ERROR [quartz.core.ErrorLogger] Job (DEFAULT.ftsIndexerJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2007/8/29/12/3/068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2007/8/29/12/3/068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_AU]
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:337)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProperty(ADMLuceneIndexerImpl.java:893)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:547)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy13.index(Unknown Source)
        at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSIndexerJob.java:52)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        … 1 more
Caused by: java.lang.UnsupportedOperationException: The content never exists
        at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:59)
        at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:226)
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:330)
        … 18 more

derek
Star Contributor
Star Contributor
Thanks for the info.  It would appear that the issue is not going to stop the system from functioning or appear to function for the time being.  Hopefully we can find the cause of the bug without much discruption.

Could post the results of the following SQL, please:
select id, qname, string_value from alf_node_properties where node_id in (select id from alf_node_properties where string_value like '%068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin%');
select * from alf_node_status where node_id in (select id from alf_node_properties where string_value like '%068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin%');

gcoleman
Champ in-the-making
Champ in-the-making
the table alf_node_properties does not have a field called ID. I assume you mean NODE_ID.


SQL> DESC alf_node_properties
Name                                      Null?    Type
—————————————– ——– —————————-
NODE_ID                                   NOT NULL NUMBER(19)
ACTUAL_TYPE                               NOT NULL VARCHAR2(15 CHAR)
MULTI_VALUED                              NOT NULL NUMBER(1)
PERSISTED_TYPE                            NOT NULL VARCHAR2(15 CHAR)
BOOLEAN_VALUE                                      NUMBER(1)
LONG_VALUE                                         NUMBER(19)
FLOAT_VALUE                                        FLOAT(126)
DOUBLE_VALUE                                       FLOAT(126)
STRING_VALUE                                       VARCHAR2(4000 CHAR)
SERIALIZABLE_VALUE                                 LONG RAW
QNAME                                     NOT NULL VARCHAR2(200 CHAR)
ATTRIBUTE_VALUE                                    NUMBER(19)

SQL> select NODE_id, qname, string_value from alf_node_properties
  2  where node_id in
  3  (select NODE_id from alf_node_properties
  4  where string_value like '%068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin%')
  5  /

no rows selected

  1  select * from alf_node_status
  2  where node_id in
  3  (select node_id from alf_node_properties
  4* where string_value like '%068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin%')
SQL> /

no rows selected

SQL> (select NODE_id from alf_node_properties
  2  where string_value like '%068ec5c3-55d4-11dc-a24c-a53a2284c5ca.bin%');

no rows selected

gcoleman
Champ in-the-making
Champ in-the-making
Clearly this is not to do with the LDAP import but rather the full text indexing. see:

        at org.alfrescemo.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProperty(ADMLuceneIndexerImpl.java:893)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocuments(ADMLuceneIndexerImpl.java:547)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullTextSearch(ADMLuceneIndexerImpl.java:1286)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.index(FullTextSearchIndexerImpl.java:188)

The file it reports missing must be a temporary file created by the indexing process. I assume that the culprit is the last file referenced in the log before the error ie

12:03:24,573 DEBUG [content.filestore.FileContentReader] Opened write channel to file:
   file: /data/alfresco/contentstore/2007/3/27/10/41/de79ccb3-dbfb-11db-a4b4-d525eb84bf17.bin
   random-access: true
So I found that file. It exists in the file system and in the database. I found it in the web-client and it is an email which opens in Outlook fine.

derek
Star Contributor
Star Contributor
Hi,
There's a text transformer that is not behaving for some reason.  The issue is not serious i.t.o. the indexing exception that is being raised.  When you next get the chance, put the following logging on:
log4j.logger.org.alfresco.repo.content.transform=DEBUG
Regards

derek
Star Contributor
Star Contributor
I didn't see the last post.  You're quite right and the type of file means that it is probably the email transformer.  I'll take a look at that now.

derek
Star Contributor
Star Contributor
Does the email, by any chance, not have a message body?

gcoleman
Champ in-the-making
Champ in-the-making
It has a subject and a body. It also contains the body of four other emails in a conversation.
I won't be able to turn on that log until tomorrow.

derek
Star Contributor
Star Contributor
That is fine.  I'm pretty sure that it's that transformer.  There are conditions under which it doesn't write anything to the temp writer.  You can override the bean to disable the full text indexing, if needed.

grp1260
Champ on-the-rise
Champ on-the-rise
Hi Derek

           I am having the same problem, as you mentioned i have enabled the debug mode in the log4j.  i am using Alfresco 2.1 community version. MySQL 5.0.45. I have rebuilded the index. Please help me, Below i have posted the the logs


11:16:00,381 ERROR [quartz.core.JobRunShell] Job DEFAULT.ftsIndexerJobDetail thr
ew an unhandled Exception:
org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream on
to channel:
   accessor: ContentAccessor[ contentUrl=store://2008/12/18/11/15/2276ec1f-ccc7-
11dd-93b1-3d322d750b0f.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_US]

        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream
(AbstractContentReader.java:337)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProper
ty(ADMLuceneIndexerImpl.java:858)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocum
ents(ADMLuceneIndexerImpl.java:542)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullT
extSearch(ADMLuceneIndexerImpl.java:1248)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.in
dex(FullTextSearchIndexerImpl.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy9.index(Unknown Source)
        at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSInd
exerJob.java:52)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:529)
Caused by: java.lang.UnsupportedOperationException: The content never exists
        at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel
(EmptyContentReader.java:59)
        at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(Ab
stractContentReader.java:226)
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream
(AbstractContentReader.java:330)
        … 18 more
11:16:00,397 ERROR [quartz.core.ErrorLogger] Job (DEFAULT.ftsIndexerJobDetail th
rew an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exc
eption: org.alfresco.service.cmr.repository.ContentIOException: Failed to open s
tream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2008/12/18/11/15/2276ec1f-ccc7-
11dd-93b1-3d322d750b0f.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_US]
]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:529)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to ope
n stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2008/12/18/11/15/2276ec1f-ccc7-
11dd-93b1-3d322d750b0f.bin, mimetype=null, size=0, encoding=UTF-8, locale=en_US]

        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream
(AbstractContentReader.java:337)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.indexProper
ty(ADMLuceneIndexerImpl.java:858)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.createDocum
ents(ADMLuceneIndexerImpl.java:542)
        at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl.updateFullT
extSearch(ADMLuceneIndexerImpl.java:1248)
        at org.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl.in
dex(FullTextSearchIndexerImpl.java:188)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:154)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:210)
        at $Proxy9.index(Unknown Source)
        at org.alfresco.repo.search.impl.lucene.fts.FTSIndexerJob.execute(FTSInd
exerJob.java:52)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        … 1 more
Caused by: java.lang.UnsupportedOperationException: The content never exists
        at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel
(EmptyContentReader.java:59)
        at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(Ab
stractContentReader.java:226)
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream
(AbstractContentReader.java:330)
        … 18 more



What else i need to do to resolve this issue. please help me.

Thanks in advance.
Prasad