Menu

offline message help please!

Help
pgty
2010-01-06
2013-04-29
  • pgty

    pgty - 2010-01-06

    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

     
  • luo dongri

    luo dongri - 2010-01-18

    是的,我也发现这个问题了。
    在最新的release版本中还是发送不出去字符太多的离线消息。

     
  • ronaldo

    ronaldo - 2010-01-18

    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.

     
  • James Lopez

    James Lopez - 2010-01-26

    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 :)

     
  • pgty

    pgty - 2010-01-27

    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)

     
  • pgty

    pgty - 2010-01-27

    Very sorry, just use the wrong agreement, number of characters has repair, thanks

     
  • ronaldo

    ronaldo - 2010-01-27

    Yes, I use the lastest svn trunk code to send chinese offline message.
    It is working properly.

     
  • James Lopez

    James Lopez - 2010-01-27

    glad to see :)

     
  • pgty

    pgty - 2010-02-02

    offline message is not work in now,your test it

     
  • pgty

    pgty - 2010-02-02

    I am sorry ,is my network problems, such as 1 hour before receiving messages offline

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.