Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5345

Hudson leaving the google talk chatroom each time a user enters or leaves the room

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: jabber-plugin
    • Labels:
      None
    • Environment:
      hudson 1.341 deployed in tomcat 6.0.20
    • Similar Issues:

      Description

      I'm using hudson with the jabber plugin (version 1.5) as a bot on a googletalk chatroom. Connection and interaction with hudson through the chatroom works fine, but each time a user enters or leaves the chatroom, hudson gets disconnected. In the logs I can see the following lines:

      org.xmlpull.v1.XmlPullParserException: parser must be on START_TAG or TEXT to read text (position: START_TAG seen ...n"><body><user:x xmlns:user="http://jabber.org/protocol/muc#user">... @13:405)
      at org.xmlpull.mxp1.MXParser.nextText(MXParser.java:1039)
      at org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.java:85)
      at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:286)
      at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
      at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)
      Jan 21, 2010 4:12:13 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
      INFO: Trying to connect
      Jan 21, 2010 4:12:13 PM hudson.plugins.jabber.im.transport.JabberIMConnection close
      FINE: java.lang.IllegalStateException: Not connected to server.
      Jan 21, 2010 4:12:14 PM hudson.plugins.jabber.im.transport.JabberIMConnection connect
      INFO: Connected to XMPP on talk.google.com:5223
      Jan 21, 2010 4:12:14 PM hudson.plugins.jabber.im.transport.JabberIMConnection connect
      INFO: Joined groupchat private-chat-7930f4dd-0629-447e-bd2e-62ca1679f4fd@groupchat.google.com
      org.xmlpull.v1.XmlPullParserException: parser must be on START_TAG or TEXT to read text (position: START_TAG seen ...n"><body><user:x xmlns:user="http://jabber.org/protocol/muc#user">... @2:1236)
      at org.xmlpull.mxp1.MXParser.nextText(MXParser.java:1039)
      at org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.java:85)
      at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:286)
      at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
      at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:63)

        Attachments

          Activity

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              antoinemischler antoinemischler
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: