Content transformation application/pdf to image/jpeg Unsuported

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2014 05:30 PM
When i try to call trasnformation WebScript
alfresco/service/api/node/workspace/SpacesStore/a605a433-ae1f-4fb1-9e3d-42128ae3cee7/content/thumbnails/imgpreview?c=force&ph=true
And the content is a scanned pdf file uploaded to Alfresco 4.2.f
I get this error
¿Can anyone give me a hint to solve this?
alfresco/service/api/node/workspace/SpacesStore/a605a433-ae1f-4fb1-9e3d-42128ae3cee7/content/thumbnails/imgpreview?c=force&ph=true
And the content is a scanned pdf file uploaded to Alfresco 4.2.f
I get this error
org.alfresco.repo.content.transform.UnsupportedTransformationException - 0719122082 Unsupported transformation: transformer.ImageMagick application/pdf to image/jpeg org.alfresco.repo.content.transform.AbstractContentTransformer2.checkTransformable(AbstractContentTransformer2.java:140)org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:205)org.alfresco.repo.content.transform.FailoverContentTransformer.transformInternal(FailoverContentTransformer.java:201)org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)org.alfresco.repo.content.ContentServiceImpl.failoverTransformers(ContentServiceImpl.java:679)org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:628)sun.reflect.GeneratedMethodAccessor3186.invoke(Unknown Source)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:606)org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:161)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)com.sun.proxy.$Proxy81.transform(Unknown Source)org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:435)org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:426)org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:425)org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:403)java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)java.util.concurrent.FutureTask.run(FutureTask.java:166)java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)java.lang.Thread.run(Thread.java:724)
¿Can anyone give me a hint to solve this?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2014 10:36 PM
Webscript you are calling is preview webscript and nodeRef is of pdf file.
Alfresco is trying to convert that pdf to image and that is the cause of issue.
Are you able to preveiw this pdf file in alfresco share?
Alfresco is trying to convert that pdf to image and that is the cause of issue.
Are you able to preveiw this pdf file in alfresco share?
