AnsweredAssumed Answered

Content conversion failed

Question asked by xiaoqunhua on Oct 3, 2014
Latest reply on Oct 4, 2014 by xiaoqunhua
2014-10-03 21:57:46,563  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-7] Exception from executeScript - redirecting to status template error: 09030001 Wrapped Exception (with status template): 09030004 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09030003 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/10/3/21/44/ec027092-9673-4b72-a732-18420eff98a0.bin, mimetype=image/vnd.skp, size=7190049, encoding=UTF-8, locale=zh_CN]
   writer: ContentAccessor[ contentUrl=store://2014/10/3/21/57/c2599f76-eeb5-4f62-8aac-a9e7131e1c1e.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=zh_CN]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/1f5af339-e576-4e7b-a737-10184d86cdb6, contentWriterNodeRef=workspace://SpacesStore/79156c08-cdbf-4c8d-a450-bf5b10aa8b71, sourceContentProperty=null, use=webpreview, includeEmbedded=false}
   limits:
   claimed mime type: image/vnd.skp
   detected mime type: text/plain
org.springframework.extensions.webscripts.WebScriptException: 09030001 Wrapped Exception (with status template): 09030004 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09030003 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/10/3/21/44/ec027092-9673-4b72-a732-18420eff98a0.bin, mimetype=image/vnd.skp, size=7190049, encoding=UTF-8, locale=zh_CN]
   writer: ContentAccessor[ contentUrl=store://2014/10/3/21/57/c2599f76-eeb5-4f62-8aac-a9e7131e1c1e.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=zh_CN]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/1f5af339-e576-4e7b-a737-10184d86cdb6, contentWriterNodeRef=workspace://SpacesStore/79156c08-cdbf-4c8d-a450-bf5b10aa8b71, sourceContentProperty=null, use=webpreview, includeEmbedded=false}
   limits:
   claimed mime type: image/vnd.skp
   detected mime type: text/plain
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:184)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:422)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
   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:724)
Caused by: org.alfresco.scripts.ScriptException: 09030004 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 09030003 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/10/3/21/44/ec027092-9673-4b72-a732-18420eff98a0.bin, mimetype=image/vnd.skp, size=7190049, encoding=UTF-8, locale=zh_CN]
   writer: ContentAccessor[ contentUrl=store://2014/10/3/21/57/c2599f76-eeb5-4f62-8aac-a9e7131e1c1e.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=zh_CN]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/1f5af339-e576-4e7b-a737-10184d86cdb6, contentWriterNodeRef=workspace://SpacesStore/79156c08-cdbf-4c8d-a450-bf5b10aa8b71, sourceContentProperty=null, use=webpreview, includeEmbedded=false}
   limits:
   claimed mime type: image/vnd.skp
   detected mime type: text/plain
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:204)
   at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:128)
   … 28 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 09030003 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2014/10/3/21/44/ec027092-9673-4b72-a732-18420eff98a0.bin, mimetype=image/vnd.skp, size=7190049, encoding=UTF-8, locale=zh_CN]
   writer: ContentAccessor[ contentUrl=store://2014/10/3/21/57/c2599f76-eeb5-4f62-8aac-a9e7131e1c1e.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=zh_CN]
   options: {targetContentProperty=null, contentReaderNodeRef=workspace://SpacesStore/1f5af339-e576-4e7b-a737-10184d86cdb6, contentWriterNodeRef=workspace://SpacesStore/79156c08-cdbf-4c8d-a450-bf5b10aa8b71, sourceContentProperty=null, use=webpreview, includeEmbedded=false}
   limits:
   claimed mime type: image/vnd.skp
   detected mime type: text/plain
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:266)
   at org.alfresco.repo.content.ContentServiceImpl.transform(ContentServiceImpl.java:624)
   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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   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:125)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:161)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at com.sun.proxy.$Proxy53.transform(Unknown Source)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:435)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable$1.doWork(AbstractTransformationRenderingEngine.java:426)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:425)
   at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine$TransformationCallable.call(AbstractTransformationRenderingEngine.java:403)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   … 3 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 09030002 Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://C:\Alfresco\tomcat\temp\Alfresco\ComplextTransformer_intermediate_skp_7391095923711606803.png, mimetype=image/png, size=0, encoding=UTF-8, locale=zh_CN]
   writer: ContentAccessor[ contentUrl=store://2014/10/3/21/57/c2599f76-eeb5-4f62-8aac-a9e7131e1c1e.bin, mimetype=application/x-shockwave-flash, size=0, encoding=UTF-8, locale=zh_CN]
   options: {targetContentProperty=null, contentReaderNodeRef=null, contentWriterNodeRef=workspace://SpacesStore/79156c08-cdbf-4c8d-a450-bf5b10aa8b71, sourceContentProperty=null, use=webpreview, includeEmbedded=false}
   limits:
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:256)
   at org.alfresco.repo.content.transform.ComplexContentTransformer.transformInternal(ComplexContentTransformer.java:484)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
   … 30 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 09030001 Transformation failed - status indicates an error:
Execution result:
   os:         Windows 7
   command:    cmd /C "C:\Alfresco\swftools/png2swf.exe -o C:\Alfresco\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_target_1520191617243903256.swf -j 100 -T 9 C:\Alfresco\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_source_8453771498323317722.png"
   succeeded:  false
   exit code:  1
   out:       
   err:        C:\Alfresco\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_source_8453771498323317722.png is not a PNG file!
Error opening input file: C:\Alfresco\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_source_8453771498323317722.
   at org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker.transform(RuntimeExecutableContentTransformerWorker.java:269)
   at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
   at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
   … 32 more

Attachments

Outcomes