Hi All,
The below exception is repeatedly occurring in our AEM instance, Please let us why this exception is occuring and how to resolve this issue
01.10.2015 07:15:44.692 *ERROR* [JobHandler: /etc/workflow/instances/2015-10-01/model_446699832952:/content/dam/xyz/logos/thoughts/394de802-d6
fe-11df-a204-00118563711b/logo.png/jcr:content/renditions/original] com.day.cq.dam.core.impl.AssetImpl addRendition: cannot add new rendition [cq5dam.
thumbnail.2060.1308.png] for asset [/content/dam/xyz/logos/thoughts/394de802-d6fe-11df-a204-00118563711b/logo.png]:
com.adobe.granite.asset.api.AssetException: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at com.adobe.granite.asset.core.impl.DefaultRenditionHandler.setRendition(DefaultRenditionHandler.java:79)
at com.adobe.granite.asset.core.impl.AssetImpl.setRendition(AssetImpl.java:127)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:490)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:484)
at com.day.cq.dam.core.impl.RenditionMakerImpl$PlanBasedTemplate.apply(RenditionMakerImpl.java:129)
at com.day.cq.dam.core.impl.RenditionMakerImpl.generateRenditions(RenditionMakerImpl.java:184)
at com.day.cq.dam.core.process.CreateThumbnailProcess.execute(CreateThumbnailProcess.java:121)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:215)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:145)
at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:366)
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:744)
Caused by: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$35.checkPreconditions(NodeImpl.java:1302)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:290)
at org.apache.jackrabbit.oak.jcr.session.ItemImpl.perform(ItemImpl.java:113)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.internalSetProperty(NodeImpl.java:1297)
at org.apache.jackrabbit.oak.jcr.session.NodeImpl.setProperty(NodeImpl.java:422)
at com.adobe.granite.asset.core.impl.DefaultRenditionHandler.setRenditionContent(DefaultRenditionHandler.java:95)
at com.adobe.granite.asset.core.impl.DefaultRenditionHandler.setRendition(DefaultRenditionHandler.java:76)
... 13 common frames omitted
Solved! Go to Solution.
Views
Replies
Total Likes
Here, are you using the OOB workflow or a custom workflow ?
Usually this exception is thrown on a mix:versionable nodes. refer [1] also to understand more on this exception
[1]http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html
Views
Replies
Total Likes
Hi Sreenivasula,
what version of AEM is this?
How are you uploading the assets: for example are you using WedDav?
How big are the files you are uploading? Does the error occur with every file upload? How many files are you trying to upload at the same time?
Does the issue occur with uploads everytime or only sometimes? For all users?
Are you uploading from a windows/mac/linux system? What version of the operating system is it.
Regards,
Opkar
Views
Replies
Total Likes
I am assuming this happens when you upload an asset.
You can also upload assets to the AEM DAM and use AssetManager API to control it. See this AEM community article for details. https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html Let us know more details as Opkar suggested.
Views
Replies
Total Likes
Here, are you using the OOB workflow or a custom workflow ?
Usually this exception is thrown on a mix:versionable nodes. refer [1] also to understand more on this exception
[1]http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html
Views
Replies
Total Likes
Check how many instances of asset upload workflows run when you upload an image. It could be the case that two instances of the same workflow are getting triggered because of the duplicate launcher configurations.
Views
Replies
Total Likes
Hi Opkar,
what version of AEM is this? ------------- We are using AEM V6.0
How are you uploading the assets: for example are you using WedDav? ----------- We are staging/injecting the assets using custom code
How big are the files you are uploading? Does the error occur with every file upload? How many files are you trying to upload at the same time? ----- The files are not so BIG. the error is not recurring and we are uploading the assets less than 100.
Does the issue occur with uploads everytime or only sometimes? For all users? ------- Only some times
Are you uploading from a windows/mac/linux system? What version of the operating system is it. ------ Unix
Regards,
Opkar
Views
Replies
Total Likes
Hi Kunal,
We are uploading around 10~20 logo image assets, out of which for only 1 ~ 2 assets we are seeing this exception, remaining all are fine
Views
Replies
Total Likes
Is there something in common about the files where an exception occurs (ie - same file type, similiar size, etc) or is it random. You stated you are using custom code - what API are you using?
Views
Replies
Total Likes
Views
Likes
Replies