doInvoke causing problems


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…


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.