SAP Adfapter Flow - stringToDocument Error

Sorry to be a nuisance chaps as I have posted this in another sub forum.

I get the following error when calling ‘stringtodocument’ on the following XML File structure. Not sure of the significance of the XQUERY segment. Could someone help with my stupidity and explain the error.

<?xml version="1.0" encoding="UTF-8"?> HEADER SWVSYS 10-033-2015 ......................... .............

java.lang.ClassCastException: class com.wm.util.Values:sun.misc.Launcher$AppClassLoader@1a16869 incompatible with class [B:null
at pub.web.stringToDocument(web.java:482)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:303)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:700)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:147)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:279)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:556)
at com.wm.lang.flow.FlowState.stepIncremental(FlowState.java:479)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:370)
at wm.server.JSBC_flow.stepFlow(JSBC_flow.java:203)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:700)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:104)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:151)
at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:441)
at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
at com.wm.util.pool.PooledThread.run(PooledThread.java:109)
at java.lang.Thread.run(Thread.java:725)

Cheers

DS, I have updated the other thread for the same issue, kindly don’t create duplicate posts :smiley:

Thanks,