org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241)

JIRA | wroot | 3 years 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. 0

    I've noticed an issue where I'm disconnected from the Openfire server when trying to send URLs like this: https://*******************************/?id=1404200104&img=1 The problem seems to be caused by multiple GET parameters on that URL. Here's what the logs look like: 2014.07.14 19:20:46 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <message to='*************************' type='chat' id='1405357206237'><body>https://***************************/?id=1404200104&img=1 [ https://***************************/?id=1404200104&img=1 ]</body><active xmlns='http://jabber.org/protocol/chatstates'/></message> org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241) at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222) at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:216) at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100) at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:316) at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:153) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:153) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

    Jive Software Open Source | 3 years ago | wroot
    org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241)
  2. 0

    I've noticed an issue where I'm disconnected from the Openfire server when trying to send URLs like this: https://*******************************/?id=1404200104&img=1 The problem seems to be caused by multiple GET parameters on that URL. Here's what the logs look like: 2014.07.14 19:20:46 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <message to='*************************' type='chat' id='1405357206237'><body>https://***************************/?id=1404200104&img=1 [ https://***************************/?id=1404200104&img=1 ]</body><active xmlns='http://jabber.org/protocol/chatstates'/></message> org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241) at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222) at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:216) at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100) at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:316) at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:153) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:153) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

    JIRA | 3 years ago | wroot
    org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241)
  3. 0

    I've noticed an issue where I'm disconnected from the Openfire server when trying to send URLs like this: https://*******************************/?id=1404200104&img=1 The problem seems to be caused by multiple GET parameters on that URL. Here's what the logs look like: 2014.07.14 19:20:46 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <message to='*************************' type='chat' id='1405357206237'><body>https://***************************/?id=1404200104&img=1 [ https://***************************/?id=1404200104&img=1 ]</body><active xmlns='http://jabber.org/protocol/chatstates'/></message> org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241) at org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222) at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:216) at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100) at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:316) at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:153) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:153) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

    Jive Software Open Source | 3 years ago | wroot
    org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xmlpull.v1.XmlPullParserException

      entity reference name can not contain character =' (position: TEXT seen ...**********************/?id=1404200104&img=... @1:241)

      at org.xmlpull.mxp1.MXParser.parseEntityRef()
    2. MXP1: Xml Pull Parser 3rd Edition (XPP3)
      MXParser.parseEntityRef
      1. org.xmlpull.mxp1.MXParser.parseEntityRef(MXParser.java:2222)
      1 frame
    3. org.jivesoftware.openfire
      MXParser.nextImpl
      1. org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:216)
      1 frame
    4. MXP1: Xml Pull Parser 3rd Edition (XPP3)
      MXParser.nextToken
      1. org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
      1 frame
    5. dom4j
      XMPPPacketReader.read
      1. org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:316)
      2. org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:153)
      2 frames
    6. org.jivesoftware.openfire
      StanzaHandler.process
      1. org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:153)
      1 frame