AnsweredAssumed Answered

Error ImageMagick.

Question asked by carlosjl on Mar 9, 2016
Latest reply on Mar 9, 2016 by carlosjl
Hello!.
In the file I get the error:

09:02:14,916 ERROR [org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl] [defaultAsyncAction7] Failed to execute asynchronous action: Action[ id=4b80a132-e07c-4dc4-a715-4343849f9364, node=null ]: 02070232 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    /usr/bin/convert /opt/tomcat-instances/tomcat-7/ecarpeta/temp/Alfresco/ImageMagickContentTransformerWorker_source_4469055615311700558.pdf[0] -auto-orient -resize "100x100>" /opt/tomcat-instances/tomcat-7/ecarpeta/temp/Alfresco/ImageMagickContentTransformerWorker_target_1312520678995744384.png
   succeeded:  false
   exit code:  1
   out:        Error: /stackunderflow in –run–
Operand stack:
   –nostringval–
Execution stack:
   %interp_exit   .runexec2   –nostringval–   –nostringval–   –nostringval–   2   %stopped_push   –nostringval–   –nostringval–   –nostringval–   false
   err:           **** Error: Cannot find a 'startxref' anywhere in the file.
   **** Warning:  An error occurred while reading an XREF table.
   **** The file has been damaged.  This may have been caused
   **** by a problem while converting or transfering the fil
org.alfresco.error.AlfrescoRuntimeException: 02070240 Creation of thumbnail 'doclib' failed
        at org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter.executeImpl(CreateThumbnailActionExecuter.java:206)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:265)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:839)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:739)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:428)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:323)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:437)
        at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
        at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
        at org.alfresco.repo.tenant.TenantUtil$1.doWork(TenantUtil.java:62)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
        at org.alfresco.repo.tenant.TenantUtil.runAsUserTenant(TenantUtil.java:58)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:440)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 02070233 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2015/11/25/7/30/75dfcfc2-13b7-4d2e-876b-03ce65151972.bin, mimetype=application/pdf, size=187552, encoding=UTF-8, locale=es_ES]
   writer: ContentAccessor[ contentUrl=store:///opt/tomcat-instances/tomcat-7/ecarpeta/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_6603039061179350255.png, mimetype=image/png, size=0, encoding=UTF-8, locale=en_US]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/a6a621db-f938-4844-a286-b63ffcbd6da2, contentWriterNodeRef=null, imageResizeOptions=ImageResizeOptions [width=100, height=100, maintainAspectRatio=true, percentResize=false, resizeToThumbnail=false, allowEnlargement=false], use=doclib, sourceContentProperty=null, includeEmbedded=false, commandOptions=, imageAutoOrient=true}
   limits:
        at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:328)
        at org.alfresco.repo.content.ContentServiceImpl.failoverTransformers(ContentServiceImpl.java:686)
        at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:635)
        at sun.reflect.GeneratedMethodAccessor1949.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:129)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
                               


Any Idea!!  

Outcomes