java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

mysql.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MySQL Bugs: #72850: Connection error while test configuration

    mysql.com | 1 year ago
    java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  2. 0

    MySQL Bugs: #72850: Connection error while test configuration

    mysql.com | 9 months ago
    java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.String

      at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.unmarshallServer()
    2. MySQL jdbc
      JDBC4FabricMySQLConnectionProxy.<init>
      1. com.mysql.fabric.proto.xmlrpc.XmlRpcClient.unmarshallServer(XmlRpcClient.java:83)
      2. com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:169)
      3. com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:185)
      4. com.mysql.fabric.FabricConnection.refreshState(FabricConnection.java:70)
      5. com.mysql.fabric.FabricConnection.<init>(FabricConnection.java:43)
      6. com.mysql.fabric.jdbc.FabricMySQLConnectionProxy.<init>(FabricMySQLConnectionProxy.java:185)
      7. com.mysql.fabric.jdbc.JDBC4FabricMySQLConnectionProxy.<init>(JDBC4FabricMySQLConnectionProxy.java:92)
      7 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    4. MySQL jdbc
      FabricMySQLDriver.connect
      1. com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
      2. com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:77)
      2 frames
    5. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:215)
      2 frames
    6. fabricclient
      FabricClient.main
      1. fabricclient.FabricClient.main(FabricClient.java:28)
      1 frame