webMethods

webMethods

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.

 View Only
Expand all | Collapse all

ConvertToValues problem processing a flat file fixed record length

  • 1.  ConvertToValues problem processing a flat file fixed record length

    Posted Mon August 26, 2002 03:59 PM

    I’m using IS 4.6 with EDI 4.6 to get a flat file by FTP. My convertToValues step appears to run forever on a 5-line test file. The template appears to be correct. I have examined the file to make sure it is correct. I have examined the pipeline contents just before the convertToValues step. My service does not right the file out to a local file system, rather it works on the stream input from the FTP operation. I have requested EDI SP 1 for 4.6 but have not received it. I feel that I’m really limited in my debugging options because the convertToValues step does not provide any way to log what it is doing. I’ve turned on verbose audit and raised the server log option to 9. I still can’t tell what is wrong. Any ideas?


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


  • 2.  RE: ConvertToValues problem processing a flat file fixed record length

    Posted Mon August 26, 2002 09:15 PM

    I applied the EDI SP 1 for 4.6 and the infinite loop went away. Now I’m left with that informative error:

    2002-08-26 15:31:52 EDT java.lang.NullPointerException
    at wm.b2b.edi.EDIConverter.getSegment(EDIConverter.java:657)
    at wm.b2b.edi.EDIConverter.createLoop(EDIConverter.java:478)
    at wm.b2b.edi.EDIConverter.toEDIValues(EDIConverter.java:375)
    at wm.b2b.edi.convertToValues(edi.java:667)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:64)
    at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:166)
    at com.wm.app.b2b.server.HTTPDispatch.run(HTTPDispatch.java:457)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:498)

    Any Ideas?


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


  • 3.  RE: ConvertToValues problem processing a flat file fixed record length

    Posted Thu December 05, 2002 08:54 PM

    David,

    I just reviewe your post on the nullpointer exception.
    Did you ever get this resolved and if so how?
    I’m experiencing the same error. My error from getLastError is null.

    Any help would be greatly appreciated.
    Thanks.
    Chris


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