Re: [Proxool-user] java.lang.IndexOutOfBoundsException who can help me?
UNMAINTAINED!
Brought to you by:
billhorsman
From: Bill H. <bi...@lo...> - 2009-08-26 14:35:32
|
Hi ASTROXL, I think you're absolutely right. 2009/8/26 lxy <as...@gm...>: > 179 try { > 180 proxyConnection = (ProxyConnection) > proxyConnections.get(nextAvailableConnection); > 181 } catch (ArrayIndexOutOfBoundsException e) { > 182 // This is thrown by a Vector (which we no longer use), > but is > 183 // kept here for a while. > 184 nextAvailableConnection = 0; > 185 proxyConnection = (ProxyConnection) > proxyConnections.get(nextAvailableConnection); > 186 } catch (IndexOutOfBoundsException e) { > 187 // This is thrown by a true List > 189 nextAvailableConnection = 0; > 190 proxyConnection = (ProxyConnection) > proxyConnections.get(nextAvailableConnection); // line 190 > 191 } > > the line 190 not included by a catch block for exception > IndexOutOfBoundsException and the lastest source is same like this. > I donnt know is this is a bug or not, anybody can help me ? thanks a lot! Good catch. We should be reacting to that condition in a more robust way. Patches welcome! - Bill |