axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Reif (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4173) NullPointerException from ServiceClient.fireAndForget()
Date Thu, 11 Dec 2008 16:47:44 GMT
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.


Mime
View raw message