This problem occured during a run of systests in the AcknowledgeAfterFailoverOnmessageTest. The test failed with a concurrent modification exception. However prior to that a StringIndexOutOfBounds during client connection establishment occured
Then shortly afterwards a NullPointerException occured and repeated a number of times.
Most likely what occured is the failed connection open was not correclty closed by mina and so the attempts to send on the socket resulted in the NPEs.
Then the ConcurrentModException occured potentially as a result of a new getConnection() being called asynchronously via the onMessage when the close() was being called.
Dispatcher-Channel-1 2009-10-12 16:25:36,694 ERROR [qpid.server.protocol.AMQPFastProtocolHandler] Exception caught inanonymous(17670761)(?, closing session explictly: java.lang.StringIndexOutOfBoundsException: String index out of range: 37
java.lang.StringIndexOutOfBoundsException: String index out of range: 37