Hi Andy,
On Wed, 2016-02-17 at 19:41 -0500, Andreas Schaefer Sr. wrote:
> 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.
Can you add a stack trace? Does this only happen for DAM assets +
renditions?
Robert