SAP Knowledge Base Article - Preview

2970274 - Cannot cast class com.wm.util.Values to class java.lang.String

Symptom

In SAP Business Connector the IDoc processing fails with this exception logged in error.log file:

java.lang.ClassCastException: Cannot cast class com.wm.util.Values to class java.lang.String
 at com.wm.pkg.sap.idoc.BCIDocRecord.toFieldNameStringValueArray(BCIDocRecord.java:1684)
 at com.sap.conn.idoc.rt.xml.DefaultIDocXMLRenderer.renderIDocSegment(DefaultIDocXMLRenderer.java:405)
 at com.sap.conn.idoc.rt.xml.DefaultIDocXMLRenderer.renderIDoc(DefaultIDocXMLRenderer.java:349)
 at com.sap.conn.idoc.rt.xml.DefaultIDocXMLRenderer.render(DefaultIDocXMLRenderer.java:162)
 at com.sap.conn.idoc.rt.xml.DefaultIDocXMLProcessor.render(DefaultIDocXMLProcessor.java:357)
 at com.wm.pkg.sap.idoc.IDocCoder.encode(IDocCoder.java:139)
 at com.wm.util.coder.Coder.encodeToBytes(Coder.java:152)
 at pub.sap.transport.XML$HandlerIDocXML.getByteData(XML.java:1195)
 at pub.sap.transport.XML.OutboundProcess(XML.java:228)
...


Read more...

Environment

SAP Business Connector 4.8

Keywords

KBA , BC-MID-BUS , Business Connector , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.