org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the element content of the document.

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

Solutions on the web

via netbeans.org by Unknown author, 1 year ago
via Stack Overflow by Ashish
, 1 year ago
An invalid XML character (Unicode: 0xc) was found in the element content of the document.
via Stack Overflow by kshama
, 2 years ago
The markup in the document following the root element must be well-formed.
via Stack Overflow by dale
, 2 years ago
The entity name must immediately follow the '&' in the entity reference.
via Stack Overflow by adranale
, 2 years ago
The reference to entity "amp" must end with the ';' delimiter.
org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at org.netbeans.modules.web.client.tools.common.dbgp.Message.getNode(Message.java:342)
at org.netbeans.modules.web.client.tools.common.dbgp.Message.create(Message.java:131)
at org.netbeans.modules.web.client.tools.common.dbgp.DebuggerProxy$MessageHandler.run(DebuggerProxy.java:409)

Users with the same issue

4 times, 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, 2 years ago

Write tip

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