jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChadDavis <chadmichaelda...@gmail.com>
Subject unexpected error on Node.isLocked()
Date Fri, 05 Nov 2010 19:47:35 GMT
I'm checking to see if nodes are locked.  The ones locked, and not
available to the current session via it's attached tokens, throw this
error:

javax.jcr.lock.LockException: Precondition Failed
	at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:109)
	at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:51)
	at org.apache.jackrabbit.spi2dav.ExceptionConverter.generate(ExceptionConverter.java:45)
	at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getLockInfo(RepositoryServiceImpl.java:1372)
	at org.apache.jackrabbit.jcr2spi.WorkspaceManager.getLockInfo(WorkspaceManager.java:250)
	at org.apache.jackrabbit.jcr2spi.lock.LockManagerImpl.buildLockState(LockManagerImpl.java:321)
	at org.apache.jackrabbit.jcr2spi.lock.LockManagerImpl.getLockImpl(LockManagerImpl.java:392)
	at org.apache.jackrabbit.jcr2spi.lock.LockManagerImpl.isLocked(LockManagerImpl.java:165)
	at org.apache.jackrabbit.jcr2spi.NodeImpl.isLocked(NodeImpl.java:1259)

The API doesn't really suggest what would cause this.  I'm at a loss.

Mime
View raw message