i am tring to use net.sf.jml.impl.BasicMessenger.sendText(Email, String)
to send an offline message, When I send a piece of message with over 18 Chinese characters or 54 characters , the other side cannot receive it. Only the message with less than or equal to 18 characters can be received successfully.
please help
many thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thewintersun state that the sending Offline message method cannot support the long string(>18 chinese character).
Do anyone can help him?
After he check the source code, he state the method "private String getOfflineMsg(Email email, String txt)" may the root cause of the problem.
thank you very much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try svn trunk code version sometimes has exception,the exception as follows:
java.lang.NullPointerException
at net.sf.jml.protocol.soap.OIM.getOfflineMsg(OIM.java:580)
at net.sf.jml.protocol.soap.OIM.sendOfflineMsg(OIM.java:611)
at net.sf.jml.impl.BasicMessenger.sendText(BasicMessenger.java:201)
at webtalk.im.robot.customize.msn.MsnEvent.instantMessageReceived(MsnEvent.java:113)
at net.sf.jml.impl.AbstractMessenger.fireInstantMessageReceived(AbstractMessenger.java:346)
at net.sf.jml.message.MsnInstantMessage.messageReceived(MsnInstantMessage.java:256)
at net.sf.jml.message.IncomingMimeMessage.messageReceived(IncomingMimeMessage.java:56)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:107)
at net.sf.jml.net.Session.fireMessageReceived(Session.java:301)
at net.sf.jml.net.Session.access$0(Session.java:297)
at net.sf.jml.net.Session$MsgDispatcher.run(Session.java:283)
at java.lang.Thread.run(Thread.java:595)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi guys
i am tring to use net.sf.jml.impl.BasicMessenger.sendText(Email, String)
to send an offline message, When I send a piece of message with over 18 Chinese characters or 54 characters , the other side cannot receive it. Only the message with less than or equal to 18 characters can be received successfully.
please help
many thanks
是的,我也发现这个问题了。
在最新的release版本中还是发送不出去字符太多的离线消息。
Yes, that is unknow bug of JML.
Dear all,
thewintersun state that the sending Offline message method cannot support the long string(>18 chinese character).
Do anyone can help him?
After he check the source code, he state the method "private String getOfflineMsg(Email email, String txt)" may the root cause of the problem.
thank you very much.
Solved in the last SVN commit. Anyway it's solved for >~50 chars on unicode, I can't test with Chinese.. Feedback will be much appreciated :)
I try svn trunk code version sometimes has exception,the exception as follows:
java.lang.NullPointerException
at net.sf.jml.protocol.soap.OIM.getOfflineMsg(OIM.java:580)
at net.sf.jml.protocol.soap.OIM.sendOfflineMsg(OIM.java:611)
at net.sf.jml.impl.BasicMessenger.sendText(BasicMessenger.java:201)
at webtalk.im.robot.customize.msn.MsnEvent.instantMessageReceived(MsnEvent.java:113)
at net.sf.jml.impl.AbstractMessenger.fireInstantMessageReceived(AbstractMessenger.java:346)
at net.sf.jml.message.MsnInstantMessage.messageReceived(MsnInstantMessage.java:256)
at net.sf.jml.message.IncomingMimeMessage.messageReceived(IncomingMimeMessage.java:56)
at net.sf.jml.protocol.MsnSession$1.messageReceived(MsnSession.java:107)
at net.sf.jml.net.Session.fireMessageReceived(Session.java:301)
at net.sf.jml.net.Session.access$0(Session.java:297)
at net.sf.jml.net.Session$MsgDispatcher.run(Session.java:283)
at java.lang.Thread.run(Thread.java:595)
Very sorry, just use the wrong agreement, number of characters has repair, thanks
Yes, I use the lastest svn trunk code to send chinese offline message.
It is working properly.
glad to see :)
offline message is not work in now,your test it
I am sorry ,is my network problems, such as 1 hour before receiving messages offline