Menu

#25 两个异常,导致MSN下线

open
nobody
None
5
2009-09-26
2009-09-26
Anonymous
No

另外,对于这些未知异常是否可以THROWS出去,以便使用JML的调用程序去捕捉,进行相应处理?

ERROR [星期四 九月 24 23:02:09 CST 2009:] [AutoCloseEventGenerator0] [] net.sf.jml.protocol.soap.ContactList : something wrong!
java.lang.Exception
at net.sf.jml.protocol.soap.ContactList.sendRequest(ContactList.java:263)
at net.sf.jml.protocol.soap.ContactList.sendRequest(ContactList.java:147)
at net.sf.jml.protocol.soap.ContactList.dispatch(ContactList.java:382)
at net.sf.jml.protocol.incoming.IncomingUSR.messageReceived(IncomingUSR.java:150)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:108)
at net.sf.cindy.impl.AbstractSession$6.doRun(AbstractSession.java:341)
at net.sf.cindy.impl.AbstractSession$DispatchObject.run(AbstractSession.java:395)
at net.sf.cindy.impl.SimpleDispatcher.dispatch(SimpleDispatcher.java:35)
at net.sf.cindy.impl.AbstractSession.dispatch(AbstractSession.java:249)
at net.sf.cindy.impl.AbstractSession.dispatchMessageReceived(AbstractSession.java:335)
at net.sf.cindy.impl.StreamChannelSession.recognizeMessageAndDispatch(StreamChannelSession.java:77)
at net.sf.cindy.impl.StreamChannelSession.readFromChannel(StreamChannelSession.java:53)
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)
WARN [星期四 九月 24 23:02:09 CST 2009:] [AutoCloseEventGenerator0] [] net.smsfan.agent.engine.msn.MsnAgent : MsnMessenger: dbbot1@gmail.com
java.lang.NullPointerException
at net.sf.jml.protocol.soap.ContactList.processMembers(ContactList.java:766)
at net.sf.jml.protocol.soap.ContactList.dispatch(ContactList.java:388)
at net.sf.jml.protocol.incoming.IncomingUSR.messageReceived(IncomingUSR.java:150)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:108)
at net.sf.cindy.impl.AbstractSession$6.doRun(AbstractSession.java:341)
at net.sf.cindy.impl.AbstractSession$DispatchObject.run(AbstractSession.java:395)
at net.sf.cindy.impl.SimpleDispatcher.dispatch(SimpleDispatcher.java:35)
at net.sf.cindy.impl.AbstractSession.dispatch(AbstractSession.java:249)
at net.sf.cindy.impl.AbstractSession.dispatchMessageReceived(AbstractSession.java:335)
at net.sf.cindy.impl.StreamChannelSession.recognizeMessageAndDispatch(StreamChannelSession.java:77)
at net.sf.cindy.impl.StreamChannelSession.readFromChannel(StreamChannelSession.java:53)
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)

Discussion


Log in to post a comment.