Bug #72300 non-core Fabric APIs throw exceptions
Submitted: 10 Apr 2014 1:35 Modified: 14 Oct 2014 22:08
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.30 OS:Any
Assigned to: Jess Balint CPU Architecture:Any
Tags: fabric

[10 Apr 2014 1:35] Jess Balint
Description:
Fabric APIs other than the dump methods used to implement the JDBC connection proxy may throw exceptions during parsing of response.

Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
        at com.mysql.fabric.Response.<init>(Response.java:37)
        at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.errorSafeCallMethod(XmlRpcClient.java:114)
        at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.createGroup(XmlRpcClient.java:266)

How to repeat:
Try to call one of the administrative commands.

Suggested fix:
Fix response handling to conform to Fabric spec.
[14 Oct 2014 22:08] Jess Balint
Posted by developer:
 
Fixed with Connector/J 5.1.32 release and Fabric 1.5