java.io.UTFDataFormatException: Invalid UTF8 encoding.

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 Oracle Community by 616153, 1 year ago
via Oracle Community by 843834, 1 year ago
via Oracle Community by PramodHattarge, 1 year ago
via Oracle Community by 419693, 1 year ago
via Oracle Community by 419693, 1 year ago
via Oracle Community by KdeGraaf, 10 months ago
java.io.UTFDataFormatException: Invalid UTF8 encoding.
at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175)
at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2254)
at oracle.xml.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1999)
at oracle.xml.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:331)
at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:300)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:280)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:107)
at dbl92.WebService1Impl.testconnection(WebService1Impl.sqlj:85)

Users with the same issue

You are the first who have seen this exception.

Write tip

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