Oak - java.lang.IllegalStateException: This tree does not exist
Hi All,
Communities user sync configuration was creating huge number of distribution packages and we have created a custom maintenance task to cleanup distribution packages from “/etc/packages/sling/distribution” and “/var/sling/distribution/packages” .
After this implementation, we are seeing below exception in the error log and it is continuously rolling. Is this exception because of our implementation of cleaning the packages or something else?
09.06.2016 09:42:09.061 *ERROR* [10.101.24.21 [1465490529053] POST /libs/sling/distribution/services/exporters/socialpubsync-reverse HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.
java.lang.IllegalStateException: This tree does not exist
at org.apache.jackrabbit.oak.core.MutableTree.beforeWrite(MutableTree.java:353)
at org.apache.jackrabbit.oak.core.MutableTree.setProperty(MutableTree.java:239)
at org.apache.jackrabbit.oak.util.TreeUtil.addChild(TreeUtil.java:206)
Appreciate your inputs.
Thanks,
Sastry