Java.lang.runtimeexception Error Serializing Bo Business Objects
originating from a WebSphere Adapter Unicode invalid character 0x0 xml serialize serialization XSLT XLS error Technote (troubleshooting) Problem(Abstract) WeBSphere Adapter is unable to process data from a source containing unicode data due to a serialization error in the broker indicating that "An invalid XML character (Unicode: 0x0) was found in the element content". Symptom When processing data using a broker that originates from a WebSphere JCA Adapter, you encounter an exception of the following form: Source = java.lang.RuntimeException caught trying to serialize BO BusinessObject: F4211BeginDoc@382a382a (F4211FSBeginDoc=F4211FSBeginDoc@67e667e6) probeid = 214 Stack Dump = java.lang.RuntimeException: An invalid XML character (Unicode: 0x0) was found in the element content: This error occurs while you are performing data transformations within your broker, either for an XSLT or to enable monitoring or tracing of the data stream, and results in a flow failure. Cause The problem occurs when the source data contains unicode data which is not allowed in XML. In the above example, this is the unicode character 0x0, but there are a number of other unicode characters that can cause the same result. The problem does not occur in the WebSphere Adapter itself because the WebSphere Adapters are entirely capable of handling full unicode data. Rather, the problem happens in some brokers which fail to properly serialize the incoming data into a valid XML object. Resolving the problem The only complete solution at this time is to not process unicode characters that are not valid in XML. This can be done by not importing data fields that might contain such characters or by purging such characters from the incoming data source. It is not sufficient to do filtering in the BO maps since the broker can still run into problems prior to this Java™ mapping. If handling of fields containing these unicode characters is essential to your use case, it will be necessary to open a PMR with your broker's support team (rather than the WebSphere Adapter team) to determine if there are any alternatives available. Historical Number 75349 344 000 Document information More support for: WebSphere Adapters Family Adapter – Non-specific Software version: 6.0, 6.0.2, 6.1, 6.2, 7.0 Operating s
> Topic: Error serializing BO / SAXParseException: An invalid XML character 1 reply Latest Post - 2013-02-05T02:20:49Z by SystemAdmin Display:ConversationsBy Date 1-2 of 2 Previous Next SystemAdmin 110000D4XK 289 Posts Pinned topic Error serializing BO / SAXParseException: An invalid XML character 2013-01-18T11:46:04Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. Hi, http://www-01.ibm.com/support/docview.wss?uid=swg21425772 I am using WPS/WESB 7.5 with jms/mq export and using default data format = SOAP, default message format = Byte. The message comes to MQ is having ccsid = 1208, but WESB throws following exception : 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=468403 User options passed were: 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: FORMATTED Value: false 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save All options used were: 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: ENCODING Value: UTF-8 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: ANY_SIMPLE_TYPE Value: org.eclipse.emf.ecore.impl.EClassImpl@49184918 (name: EDataObjectSimpleAnyType) (instanceClassName: null) (abstract: false, interface: false) 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: FORMATTED Value: false 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: ANY_TYPE Value: org.eclipse.emf.ecore.impl.EClassImpl@49074907 (name: EDataObjectAnyType) (instanceClassName: null) (abstract: false, interface: false) 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: EXTENDED_META_DATA Value: com.ibm.ws.bo.BOExtendedMetaData@56175617 1/18/13 12:40:41:005 CET 0000008b BOXMLSerializ E com.ibm.ws.bo.service.BOXMLSerializerImpl save Key: USE_CACHED_LOOKUP_TABLE Value: org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl$Lookup@7e347e34 1/18/13 12:40:41:005 CET 0000008b FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\IBM\WebSphere\AppServer\profiles\qbpmaps\logs\ffdc\server1_38503850_13.01.18_12.40.41.00564643
+--java.lang.Exception https://help.sap.com/javadocs/boe/xi/re/en/com/businessobjects/rebean/wi/ServerException.html | +--java.lang.RuntimeException | +--com.businessobjects.rebean.wi.REException | +--com.businessobjects.rebean.wi.ServerException All Implemented Interfaces: java.io.Serializable Direct Known Subclasses: UserInputRequiredException public class ServerExceptionextends REException ServerException provides any exception thrown by java.lang.runtimeexception error the ReportEngine server. See Also:Serialized Form Constructor Summary ServerException(XMLErrors, interrorIndex) Method Summary java.lang.String getComponent(intnIndex) Checks in which component the java.lang.runtimeexception error serializing error have been thrown java.lang.String getErrorCode(intnIndex) Retrieves the error code thrown java.lang.String getErrorType(intnIndex) Retrieves the error type thrown java.lang.String getLocalizedMessage(intnIndex) Retrieves the localized error message thrown java.lang.String getMessage(intnIndex) Retrieves the error message thrown java.lang.String getPrefix(intnIndex) Retrieves the error prefix boolean isError() Checks if this Exception is really an error or may be just a warning Methods inherited from class com.businessobjects.rebean.wi.REException getErrorCode,