
Oved Ourfali has submitted this change and it was merged. Change subject: core:Class cast exception when fence fails ...................................................................... core:Class cast exception when fence fails The problem was that in the case that the proxy host is blocked by iptables to access the PM card we got a message result in the RPC XML return value which is Object[]. In the code, there was attempt to cast this result to a string which obviously failed with ClassCastException. This patch adds check for the message type and gets it properly as string in the case that we got Object[]. Change-Id: I511599ce3c6dbf313cbe8d1f0f57e329a4aa1d79 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1114977 Signed-off-by: Eli Mesika <emesika@redhat.com> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/StatusForXmlRpc.java 1 file changed, 7 insertions(+), 1 deletion(-) Approvals: Martin Peřina: Looks good to me, but someone else must approve Eli Mesika: Verified Juan Hernandez: Looks good to me, but someone else must approve Oved Ourfali: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/30567 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I511599ce3c6dbf313cbe8d1f0f57e329a4aa1d79 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Martin Peřina <mperina@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server