Purge Trash Script - LockException
PostPosted:Fri Aug 30, 2013 8:07 am
Hi there,
I'm trying to use the Purge Trash script you provided here:
http://wiki.openkm.com/index.php/Script ... sers_trash
But when executing I got a LockException in Line 18:
OKMDocument.getInstance().purge(token, doc.getPath());
Exception:
Thanks a lot,
regards.
EDIT: The exception occurs on the first user trash that is not empty.
I'm trying to use the Purge Trash script you provided here:
http://wiki.openkm.com/index.php/Script ... sers_trash
But when executing I got a LockException in Line 18:
OKMDocument.getInstance().purge(token, doc.getPath());
Exception:
Code: Select all
Hm. What is the problem here and how to solve it?target exception : at Line: 18 :
.purge ( token , doc .getPath ( ) )
Target exception: com.openkm.core.LockException: 1505bfd9-99e0-4dc2-81dd-5a788aec2d7c : 5355df4f-8d7d-40a8-8482-8e1a3d3fc2a0
Thanks a lot,
regards.
EDIT: The exception occurs on the first user trash that is not empty.