powered by Jive Software

Stream error exception with Gtalk

Hi,

I use this code to connect to google talk jabber servers:

MConnection = new XMPPConnection(properties.getProperty(“im_server”));

IMConnection.login(properties.getProperty(“im_login”),

properties.getProperty(“im_passwd”) );

im_server = “talk.google.com

im_login = mylogin@googlemail.com

im_passwd = mysecret

I guess it happens somewhere in the subthreads because I don’'t get an immediate error as the exception handling I wrapped around does not work. Connecting seems to work as I get no “Connection failed exception” Here the complete Exception dump:

stream:error (text)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:310)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)

How can I avoid this. Is Smack not compatible with gtalk ?