org.alfresco.service.cmr.repository.ContentIOException: 05250034 Content conversion failed: reader: ContentAccessor[ contentUrl=store://2016/6/25/11/28/387fbbe9-463b-40b3-b791-ba4880bc1aa8.bin, mimetype=application/pdf, size=443033, encoding=UTF-8, locale=en_US] writer: ContentAccessor[ contentUrl=store://F:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ProxyContentTransformer_1966396143428793070.png, mimetype=image/png, size=0, encoding=UTF-8, locale=en_GB] options: {use=doclib, contentReaderNodeRef=workspace://SpacesStore/4dff1caf-b7bf-4598-9811-0d71dca6a431, contentWriterNodeRef=null, sourceContentProperty=null, imageAutoOrient=true, targetContentProperty=null, commandOptions=, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], includeEmbedded=false} limits: {timeoutMs=120000}

GitHub | essadek | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    Alfresco 5.0 goes weird after encrypting file

    GitHub | 9 months ago | essadek
    org.alfresco.service.cmr.repository.ContentIOException: 05250034 Content conversion failed: reader: ContentAccessor[ contentUrl=store://2016/6/25/11/28/387fbbe9-463b-40b3-b791-ba4880bc1aa8.bin, mimetype=application/pdf, size=443033, encoding=UTF-8, locale=en_US] writer: ContentAccessor[ contentUrl=store://F:\Alfresco\tomcat\temp\Alfresco\FailoverTransformer_intermediate_ProxyContentTransformer_1966396143428793070.png, mimetype=image/png, size=0, encoding=UTF-8, locale=en_GB] options: {use=doclib, contentReaderNodeRef=workspace://SpacesStore/4dff1caf-b7bf-4598-9811-0d71dca6a431, contentWriterNodeRef=null, sourceContentProperty=null, imageAutoOrient=true, targetContentProperty=null, commandOptions=, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], includeEmbedded=false} limits: {timeoutMs=120000}

    Root Cause Analysis

    1. org.alfresco.service.cmr.repository.ContentIOException

      05250033 Failed to perform ImageMagick transformation: Execution result: os: Windows 8.1 command: F:\Alfresco\imagemagick\convert.exe F:\Alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_source_4765015421439093009.pdf[0] -auto-orient -resize "100x100>" F:\Alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformerWorker_target_836707460362787561.png succeeded: false exit code: 1 out: Error: /invalidfileaccess in pdf_process_Encrypt Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 err: **** This file requires a password for access. **** The file was produced by: **** >>>> O/ô©!<ƒåPvL˜«mžò’˜¡fªGS•®¬öãtð‘ ÒÏÊÆí¨yüº¿?Í®³4ÁitGùÅã„Öì+? 'hz¿ Rò(¦;¸˜8¨Ø_îx„Ì <<<< GPL Ghostscript 8.64: Unrecoverable error, exit co

      at org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker.transformInternal()
    2. org.alfresco.repo
      AbstractImageMagickContentTransformerWorker.transform
      1. org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker.transformInternal(ImageMagickContentTransformerWorker.java:199)
      2. org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker.transform(AbstractImageMagickContentTransformerWorker.java:273)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.alfresco.repo
      SubsystemProxyFactory$1.invoke
      1. org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
      1 frame
    5. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    6. com.sun.proxy
      $Proxy20.transform
      1. com.sun.proxy.$Proxy20.transform(Unknown Source)
      1 frame
    7. org.alfresco.repo
      ContentServiceImpl.transform
      1. org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:100)
      2. org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:250)
      3. org.alfresco.repo.content.ContentServiceImpl.failoverTransformers(ContentServiceImpl.java:686)
      4. org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:635)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    10. net.sf.acegisecurity
      MethodSecurityInterceptor.invoke
      1. net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
      1 frame
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    12. org.alfresco.repo
      MLContentInterceptor.invoke
      1. org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:129)
      1 frame
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    14. org.alfresco.repo
      ExceptionTranslatorMethodInterceptor.invoke
      1. org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
      1 frame
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    16. org.alfresco.repo
      AuditMethodInterceptor.invoke
      1. org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
      1 frame
    17. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    18. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      3 frames
    19. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    20. com.sun.proxy
      $Proxy39.transform
      1. com.sun.proxy.$Proxy39.transform(Unknown Source)
      1 frame
    21. org.alfresco.repo
      AbstractTransformationRenderingEngine$TransformationCallable.call
      1. org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:439)
      2. org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:430)
      3. org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
      4. org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:429)
      5. org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:404)
      5 frames
    22. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames