org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element

igniterealtime.org | 8 months 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

    Connection Failure (Oracle Beehive) | Ignite Realtime

    igniterealtime.org | 8 months ago
    org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element
  2. 0

    Trying to register for XMPP

    Stack Overflow | 2 years ago
    org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element
  3. 0

    XMPP Connection keeps getting disconnected android

    Stack Overflow | 2 years ago | anupam x
    org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 692#190788035

    GitHub | 1 year ago | ShekharWNC
    org.jivesoftware.smack.SmackException: Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element

  1. gamebusterz 1 times, last 2 months ago
  2. Avinash8989 1 times, last 8 months ago
  3. MyInnos 15 times, last 10 months ago
2 unregistered visitors

Root Cause Analysis

  1. org.jivesoftware.smack.SmackException

    Parser got END_DOCUMENT event. This could happen e.g. if the server closed the connection without sending a closing stream element

    at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets()
  2. org.jivesoftware.smack
    XMPPTCPConnection$PacketReader$1.run
    1. org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1170)
    2. org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:952)
    3. org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:967)
    3 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame