org.xmlpull.v1.XmlPullParserException: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<body>diconnect test<item/>... @72:143)

JIRA | LG | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    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)

    Jenkins JIRA | 7 years ago | antoinemischler
    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)
  3. 0

    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)

    Jenkins JIRA | 7 years ago | antoinemischler
    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)

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<body>diconnect test<item/>... @72:143)

      at org.xmlpull.mxp1.MXParser.nextText()
    2. MXP1: Xml Pull Parser 3rd Edition (XPP3)
      MXParser.nextText
      1. org.xmlpull.mxp1.MXParser.nextText(MXParser.java:1063)
      1 frame
    3. Smack
      PacketReader$1.run
      1. org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.java:85)
      2. org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:302)
      3. org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
      4. org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:77)
      4 frames