org.xml.sax.SAXParseException: Invalid byte 2 of 4-byte UTF-8 sequence.

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 800645, 1 year ago
via coderanch.com by Unknown author, 1 year ago
via maven-doxia-users by Vincent Siveton, 1 year ago
via maven-doxia-users by serge.simon@mpsa.com, 1 year ago
via Coderanch by Kudret Serin, 1 year ago
Invalid byte 1 of 1-byte UTF-8 sequence.
via Google Groups by puzzlecracker, 2 years ago
Invalid byte 2 of 3-byte UTF-8 sequence.
org.xml.sax.SAXParseException: Invalid byte 2 of 4-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1810)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:301)
at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.read(SMSJAXRPCObject.java:122)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:334)
at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:326)
at com.sun.identity.sm.SMSEntry.(SMSEntry.java:162)
at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:307)
at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:291)
at com.sun.identity.sm.ServiceSchemaManagerImpl.(ServiceSchemaManagerImpl.java:108)
at com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:458)
at com.sun.identity.sm.ServiceSchemaManager.(ServiceSchemaManager.java:107)
at com.sun.identity.sm.ServiceSchemaManager.(ServiceSchemaManager.java:77)
at com.iplanet.am.sdk.AMServiceUtils.serviceHasSubSchema(AMServiceUtils.java:153)
at com.iplanet.am.sdk.AMServiceUtils.getServiceObjectClasses(AMServiceUtils.java:283)
at com.iplanet.am.sdk.AMPeopleContainerImpl.createUser(AMPeopleContainerImpl.java:251)
at test.Main.main(Main.java:117)

Users with the same issue

2 times, 1 day ago
17 times, 6 days ago
2 times, 6 days ago
20 times, 2 weeks ago
Once, 2 months ago

Write tip

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