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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • jabber-plugin
    • None
    • hudson 1.341 deployed in tomcat 6.0.20

    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

          kutzi kutzi added a comment -

          Please try the plugins attached to JENKINS-7060. They use a new, beta version of the Smack library which should fix a lot of bugs.

          kutzi kutzi added a comment - Please try the plugins attached to JENKINS-7060 . They use a new, beta version of the Smack library which should fix a lot of bugs.

          Thanks,these plugins fixed the problem.

          antoinemischler antoinemischler added a comment - Thanks,these plugins fixed the problem.
          kutzi kutzi added a comment -

          Fixed in version 1.17

          kutzi kutzi added a comment - Fixed in version 1.17

          Code changed in jenkins
          User: kutzi
          Path:
          pom.xml
          src/main/java/hudson/plugins/jabber/im/transport/JabberConnectionDebugger.java
          http://jenkins-ci.org/commit/jabber-plugin/242722157b444737390857d5c341e590ae655804
          Log:
          Upgrade Smack library to 3.2.0. Fixes JENKINS-7060, JENKINS-8426 and JENKINS-5345

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kutzi Path: pom.xml src/main/java/hudson/plugins/jabber/im/transport/JabberConnectionDebugger.java http://jenkins-ci.org/commit/jabber-plugin/242722157b444737390857d5c341e590ae655804 Log: Upgrade Smack library to 3.2.0. Fixes JENKINS-7060 , JENKINS-8426 and JENKINS-5345

          Code changed in jenkins
          User: kutzi
          Path:
          pom.xml
          src/main/java/hudson/plugins/jabber/im/transport/JabberConnectionDebugger.java
          http://jenkins-ci.org/commit/jabber-plugin/242722157b444737390857d5c341e590ae655804
          Log:
          Upgrade Smack library to 3.2.0. Fixes JENKINS-7060, JENKINS-8426 and JENKINS-5345

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kutzi Path: pom.xml src/main/java/hudson/plugins/jabber/im/transport/JabberConnectionDebugger.java http://jenkins-ci.org/commit/jabber-plugin/242722157b444737390857d5c341e590ae655804 Log: Upgrade Smack library to 3.2.0. Fixes JENKINS-7060 , JENKINS-8426 and JENKINS-5345

          People

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

            Dates

              Created:
              Updated:
              Resolved: