NullPointerException from ServiceClient.fireAndForget()
-------------------------------------------------------

                 Key: AXIS2-4173
                 URL: https://issues.apache.org/jira/browse/AXIS2-4173
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.4, 1.4.1, 1.5
         Environment: Windows
            Reporter: Ben Reif


When you call ServiceClient.fireAndForget(QName, OMElement), it creates an 
OutInAxisOperationClient but the AxisCallback is never set. The call eventually 
goes into OutInAxisOperationClient.executeImpl(false) and then calls 
NonBlockingInvocationWorker.run().

You get a NullPointerException on line 454 or 462 because there is no Null 
check before it calls

  axisCallback.onError(fault);
or
  axisCallback.onMessage(response);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to