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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  doInvoke causing problems

    Posted 02/04/02 11:16 AM

    Greetings:

    I was wondering if anyone has seen this problem:

    We are using the doInvoke method to call a service. This call appears to be throwing a java.lang.NullPointerException. Is there a bug associated with this? The service runs OK, but the error log gets full of NullPointerExceptions…

    thanks
    Mike


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: doInvoke causing problems

    Posted 02/06/02 01:26 PM

    There are two things to try:

    1. Change the service that you are invoking, for instance:
      IData result = Service.doInvoke(“pub.flow”,“tracePipeline”, pipeline);

    This will print out the contents of the pipeline to the server console, which may help figure out why the NPE is thrown.

    1. Look at the service “Settings” tab in B2B Integrator/Developer. Particularly look at caching and validation options.

    Also, a little of the stack trace could help narrow it down.

    Cheers,
    Fred


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB