  | | | Subject: Re: NumberFormatException on initializePropsFromServer | Subject: Re: NumberFormatException on initializePropsFromServer 2007-09-16 - By Mark Matthews
Back > > Here are the likely offenders from the Connection source: > > this.netBufferLength = Integer.parseInt((String) > this.serverVariables.get("net_buffer_length")); > > this.maxAllowedPacket = Integer.parseInt((String) > this.serverVariables.get("max_allowed_packet")); > > The code is clearly not ready for the server to return "" for these > variables.
Madox,
Interesting. I've _never_ seen the server return "" for those variables, and it's not ever supposed to return "" for those variables, which is why there's no defensive code around that. I suppose the driver could "punt" when it runs into this situation, but I smell a memory overwrite condition somwehere in the server.
Is this issue reproducible?
-Mark
-- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/java?unsub=mysql@(protected)
|
|
 |