Getting 'Invalid byte 2 of 3-byte UTF-8 sequence' when Handling a Web Service Fault (Doc ID 1310538.1)

Last updated on SEPTEMBER 25, 2017

Applies to:

Oracle Java CAPS - Version 5.1.3 to 5.1.3 [Release 5.1]
Information in this document applies to any platform.
***Checked for relevance on 03-NOV-2014***.
*** Checked for relevance on 25-SEP-2017 ***

Symptoms

The following exception error message is being seen in the server log file, when a business process tries to unmarshal a SOAPFault message that contains special characters:

com.stc.otd.runtime.UnmarshalException: error: Invalid byte 2 of 3-byte UTF-8 sequence.
at stcgen.wsdlmsgpartstub.SOAPFaultMessage_parameters.unmarshalInternal(SOAPFaultMessage_parameters.java:235)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms