AnsweredAssumed Answered

Trasformation doc error

Question asked by smeligrana on Apr 5, 2014
Latest reply on Apr 6, 2014 by kaynezhang
I'm using alfresco community, when I transform the type of document doc will usually work, some documents instead give the following error

writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_932793940237071399.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/82fbcecb-8bab-4f2f-98b6-c0f2d1f56e85, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=960, height=960, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], use=imgpreview, sourceContentProperty=null, includeEmbedded=false, commandOptions=, imageAutoOrient=true}
   limits: {maxSourceSizeKBytes=10240}
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:256)
        at org.alfresco.repo.content.transform.FailoverContentTransformer.transformInternal(FailoverContentTransformer.java:201)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
        … 33 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 03050024 OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/4/5/9/26/577d61cd-ef97-4b4b-86f2-eeb6d3e6cfe4.bin, mimetype=application/msword, size=375296, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.d/tomcat/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_932793940237071399.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=en_US]
   from file: /opt/alfresco-4.2.d/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-649333571066970781.doc
   to file: /opt/alfresco-4.2.d/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-4739380544403644589.pdf
        at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:372)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy16.transform(Unknown Source)
        at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
        … 35 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.task.ErrorCodeIOException:
        at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:117)
        at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:88)
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.convert(OpenOfficeContentTransformerWorker.java:118)
        at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:368)
        … 45 more

if I open the document directly with libre office the problem does not occur, Any advice?
thanks

Outcomes