Tina ... Slide 1.0.11 has a fix in it for this problem.
-----Original Message-----
From: Tina Yang [mailto:[EMAIL PROTECTED]]
Sent: 20 July 2001 10:38
To: slide
Subject: Class Cast Exception
Hi,
while trying to get the Slide Client-API to work for me, I ran into the
following traps - I want to lock a webdavresource and then determine
whether it's really locked and who the lock owners are. But the
functions isLocked() and getActiveLockOwners() always crash on me with
the same error:
1) java.lang.ClassCastException: [Ljava.lang.Object;
at
org.apache.webdav.lib.properties.LockDiscoveryProperty.getActiveLocks(LockDi
scoveryProperty.java:142)
at
org.apache.webdav.lib.WebdavResource.getActiveLockOwners(WebdavResource.java
:1431)
2) java.lang.ClassCastException: [Ljava.lang.Object;
at
org.apache.webdav.lib.properties.LockDiscoveryProperty.getActiveLocks(LockDi
scoveryProperty.java:142)
at
org.apache.webdav.lib.WebdavResource.isLocked(WebdavResource.java:1451)
I'm using version Slide 1.0.10, Tomcat 3.2.1, Apache 3.14 with mod_dav
1.0.2 on Windows NT. Any help is highly appreciated.
-- Tina Yang