You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2002/03/27 15:50:01 UTC
DO NOT REPLY [Bug 7514] New: -
Class cast exception in UnlockMethod
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7514
Class cast exception in UnlockMethod
Summary: Class cast exception in UnlockMethod
Product: Slide
Version: 1.0.16 Stable
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: WebDAV client
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: ivanovss@chat.ru
I experienced it while using WebDAV UI client from the src/contrib/ directory.
I'd suspect that, like in the LockMethod, a check (this.state instanceof
WebdavState) should be performed before casting.
Stack trace follows:
-------------------------
java.lang.ClassCastException: org.apache.commons.httpclient.State
at
org.apache.webdav.lib.methods.UnlockMethod.parseResponse(UnlockMethod.java:175)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:668)
at
org.apache.webdav.ui.lib.methods.SPUnlockMethod.execute(SPUnlockMethod.java:107)
at
org.apache.webdav.ui.lab.HostFrame.executeChosenMethod(HostFrame.java:187)
at
org.apache.webdav.ui.lab.HostFrame.okButton_actionPerformed(HostFrame.java:204)
at
org.apache.webdav.ui.lab.HostFrame_okButton_actionAdapter.actionPerformed(HostFrame.java:534)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>