I regularly get message bounce backs using Smack 3.0.4 when sending messages to GTalk users, but not to jabber.org users. This is with the client connecting to GTalk in orer to send messages:
XMPPConnection c = new XMPPConnection(config);
Presence presence = new Presence(Presence.Type.available);
Then to send a message:
Message m = new Message(chat.getParticipant(), Message.Type.chat);
In order to set the chat type, which other posts in this forum imply GTalk requires.
The bounce back errors are of the form:
Sadly, i am wholly unable to figure out why this is happening. Any clues?