Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-207

Parsing of messages may disconnect Smack/Spark

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0 Beta 2
    • Fix Version/s: 3.2.0
    • Component/s: Core
    • Labels:
      None

      Description

      Use Spark, press F12 and send
      <message to="sparkuser@jivesoftware.com" id="gS0vV-X"><body>diconnect test<item/><item/></body></message>
      to a Spark user. He will be disconnected and may see this error in his log file:
      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(MXParser.java:1063)
      at org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.java:85)
      at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:302)
      at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
      at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:77)
      05.03.2007 23:09:33 org.jivesoftware.spark.util.log.Log error

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rcollier Robin Collier
              Reporter:
              it2000 LG
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: