On 5/5/06, Danielius Jurna <[EMAIL PROTECTED]> wrote: > > Hi. > > I found some bugs in stomp transport: > CommandParser.java:41 > in.readline() can return null -> possible NullPointerException
There's actually a try/catch for that exception in the code there... > HeaderParser.java:48 > the same - in.readline() can return null -> possible NullPointerException > > I'm getting these nullpointers when unplugging cable from the client > (failover test) - stream returns null when connection is closed (according > to DataInput javadoc). After that you have to restart broker to get stomp > working - not very nice :-(. Good catch. I've tidied up the null handling code in these 2 files now to make it a little more clear; let us know if that fixes it for you. -- James ------- http://radio.weblogs.com/0112098/
