IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

SAP Adfapter Flow - stringToDocument Error

  • 1.  SAP Adfapter Flow - stringToDocument Error

    Posted Tue February 09, 2016 01:04 PM

    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


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: SAP Adfapter Flow - stringToDocument Error

    Posted Tue February 09, 2016 01:12 PM

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

    Thanks,


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services