webMethods

 View Only
Expand all | Collapse all

doInvoke causing problems

  • 1.  doInvoke causing problems

    Posted Mon February 04, 2002 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 Wed February 06, 2002 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