Hello
In the logs I have huge amount of such errors:
DEBUG Unable to create thumbnail 'doclib' for image/vnd.dwg as no transformer is currently available.
ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-21] Exception from executeScript: 05220146 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 05220146 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:176)
...
It seems like method isThumbnailDefinitionAvailable() returns false so createThumbnail() returns null so StreamContent.java throws an error.
But why doclib thubmnail renderer is unavailable? How can I prevent that and stop this error poping up?
I noticed this error pops up only sometimes (huge server overload?) and in huge amounts (around 150 times in 1sec)
I'm using Alfresco Community 7.2 with ATS connected to ActiveMQ.
Generally, transforms are working fine.
You can disable thumbnail generation in alfresco 7.x versions.
system.thumbnail.generate=false
Just add the above property in alfresco-global.properties and then restart the server.
Thank you @mitpatoliya but that is an extreme solution. I would like to still have thumbnails especially because in 99% cases they are working.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.