Hi,
The error you got is quite unexcpected.
First of all, I assume that the getLSClient call returns a valid and connected LSClient instance (you can't send messages to the server if you don't have an open session).
Can you please post your server log?
It is not necessary to use a MessageInfo to send a message.
You use such class if you need your messages to be handled in order by the server and/or if you want to know what's the outcome for the sent message. Otherwise you can use the basic
sendMessage call that has only one String parameter (i.e.: string to be sent).