Error causing client disconnection

I keep getting this error in the Error log, apparently this causes clients to disconnect as soon as the get connected several times, after wich the get connected for real.

I have no idea what the problem could be.

2008.10.15 10:10:28 [org.jivesoftware.openfire.nio.ConnectionHandler.exceptionCaught(ConnectionHand ler.java:110)
]
java.lang.ArrayIndexOutOfBoundsException

Thanks for the help,

Joaquin