Eric Wai - 2009-03-11

Hello, i'm new to JML. @@

My problem is that my MSNMessenger object cannot send message to user.

Here is my situation :

i) firstly,  i asked my MSNMessenger object to sent a message to an user on contact list

ii)  and then, functions 'contactLeaveSwitchboard()' and 'switchboardClosed()' of MsnSwitchboardListener will be called within 5 minutes (automatically by jml library)

iii) afterwards, my MSNMessenger object cannot sent message to that user (until that user sent a message to my MSNMessenger object)

iv) MSNMessenger object keep throwing the following exception repeatly :

java.io.IOException: Connection reset by remote side
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(Unknown Source)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
    at sun.nio.ch.IOUtil.read(Unknown Source)
    at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
    at net.sf.cindy.impl.StreamChannelSession.readFromChannel(StreamChannelSession.java:45)
    at net.sf.cindy.impl.ChannelSession.onReadable(ChannelSession.java:212)
    at net.sf.cindy.impl.ChannelSession.onEvent(ChannelSession.java:134)
    at net.sf.cindy.impl.SocketSession.onEvent(SocketSession.java:119)
    at net.sf.cindy.impl.SimpleEventGenerator.processKey(SimpleEventGenerator.java:212)
    at net.sf.cindy.impl.SimpleEventGenerator.run(SimpleEventGenerator.java:192)
    at net.sf.cindy.impl.SimpleEventGenerator.access$000(SimpleEventGenerator.java:54)
    at net.sf.cindy.impl.SimpleEventGenerator$1.run(SimpleEventGenerator.java:115)

My java jml library is version 1.0b3.

Thx for reading my post!^^