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 Google Groups by Nadeem Jawaid, 3 months ago
The content of elements must consist of well-formed character data or markup.
via wpthm.com by Unknown author, 2 years ago
org.xml.sax.SAXParseException: Invalid byte 2 of 4-byte UTF-8 sequence.
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

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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