org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not * (position: START_DOCUMENT seen *... @1:1)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Alifiya Ali
, 1 year ago
only whitespace content allowed before start tag and not * (position: START_DOCUMENT seen *... @1:1)
via eclipse.org by Unknown author, 1 year ago
only whitespace content allowed before start tag and not \ufffd (position: START_DOCUMENT seen \ufffd... @1:1)
via sourceforge.net by Unknown author, 2 years ago
only whitespace content allowed before start tag and not \uef (position: START_DOCUMENT seen \uef... @1:1)
via Stack Overflow by hari
, 1 year ago
only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
via GitHub by simonedavico
, 1 year ago
only whitespace content allowed before start tag and not 4 (position: START_DOCUMENT seen 4... @1:1)
via Stack Overflow by suthar
, 2 years ago
expected start tag name and not / (position: START_DOCUMENT seen </... @1:2)
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not * (position: START_DOCUMENT seen *... @1:1)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1206)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:960)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:975)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.