AnsweredAssumed Answered

Error converting to  JPEG

Question asked by joao.pereira on Nov 2, 2005
Latest reply on Nov 3, 2005 by joao.pereira
Hello,
I've creates a rule to transform the items in one space to a JPG and copy them to another space. It's an inbound rule. When I put an HTML in the space the following exception occurs:
org.alfresco.error.AlfrescoRuntimeException: Zero scoring transformation attempted:
   reader: ContentAccessor[ contentUrl=store://2005/11/2/1588acc5-4bea-11da-9822-997476fe6135.bin, mimetype=text/html, size=12, encoding=UTF-8]
   writer: ContentAccessor[ contentUrl=store://2005/11/2/16bbd59a-4bea-11da-9822-997476fe6135.bin, mimetype=image/jpeg, size=0, encoding=UTF-8]
        at org.alfresco.repo.content.transform.AbstractContentTransformer.checkReliability(AbstractContentTransformer.java:92)
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:145)
        at org.alfresco.repo.action.executer.ImageTransformActionExecuter.doTransform(ImageTransformActionExecuter.java:83)
        at org.alfresco.repo.action.executer.TransformActionExecuter.executeImpl(TransformActionExecuter.java:196)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:91)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:486)
        at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:64)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:91)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:486)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:427)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:279)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:119)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:79)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:269)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


And, of course nothing is converted and copied to the second space.
Any ideas on his error?
Thanks for your help,
João

Outcomes