Hi
During the development of the IntelliJ plugin I ran into some random failures
to deploy.
Looking deeper I save that the failure is happening when session.save() is
called and
to my surprise a slight delay (Thread.sleep(100)) does fix it on my Mac.
The code is in JcrCommand inside the impl-vlt module. This is the change that
make it
work for me:
@Override
public Result<T> execute() {
Session session = null;
try {
session = repository.login(credentials);
T result = execute0(session);
try {
Thread.sleep(100);
} catch(InterruptedException e) {
}
session.save();
return JcrResult.success(result);
The exception I see is a ItemExistsException and was thrown for a folder and
rendition file in the DAM.
This looks like a race condition or and out of order problem.
Any ideas what it could be.
Cheers - Andy Schaefer