I'm trying to create a small msn-client by using the jml-library. And it is working... ...except when my corespondent sends a file. Then the client trows an ExceptionInInitializerError.
Can anyone tell me what the problem could be?
Here is the stack trace:
Exception in thread "AutoCloseEventGenerator0" java.lang.ExceptionInInitializerError
at net.sf.jml.message.p2p.MsnP2PMessage.messageReceived(MsnP2PMessage.java:206)
at net.sf.jml.message.IncomingMimeMessage.messageReceived(IncomingMimeMessage.java:56)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:106)
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)
Caused by: java.lang.NullPointerException
at net.sf.jml.message.p2p.DisplayPictureDuelManager.<init>(DisplayPictureDuelManager.java:27)
at net.sf.jml.message.p2p.DisplayPictureDuelManager.<clinit>(DisplayPictureDuelManager.java:12)
... 17 more
I thank you in advance...,
Erik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to create a small msn-client by using the jml-library. And it is working... ...except when my corespondent sends a file. Then the client trows an ExceptionInInitializerError.
Can anyone tell me what the problem could be?
Here is the stack trace:
Exception in thread "AutoCloseEventGenerator0" java.lang.ExceptionInInitializerError
at net.sf.jml.message.p2p.MsnP2PMessage.messageReceived(MsnP2PMessage.java:206)
at net.sf.jml.message.IncomingMimeMessage.messageReceived(IncomingMimeMessage.java:56)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:106)
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)
Caused by: java.lang.NullPointerException
at net.sf.jml.message.p2p.DisplayPictureDuelManager.<init>(DisplayPictureDuelManager.java:27)
at net.sf.jml.message.p2p.DisplayPictureDuelManager.<clinit>(DisplayPictureDuelManager.java:12)
... 17 more
I thank you in advance...,
Erik
Hello,
I also had that problem, also happens when a friend logs in into kopete.
I downloaded the latest code from svn, compiled it myself and used the created jar instead.
Worked for me, I hope it helps.
João
Thank you for the advice. It seems to work very well after I recompiled it myself.
Thank you...