axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Illsley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2070) sendRobust throws null pointer exception when a fault is reported from ws
Date Thu, 01 Feb 2007 08:52:05 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469372
] 

David Illsley commented on AXIS2-2070:
--------------------------------------

Initial Analysis:
The RobustOperationClient is sending a message context without an envelope through the receiveFault.
MessageContext.isHeaderPresent NPE's because of the null envelope. This occurs because if,
in send(), the response envelope is null, a new one is created but not attached to the response
message context.

> sendRobust throws null pointer exception when a fault is reported from ws
> -------------------------------------------------------------------------
>
>                 Key: AXIS2-2070
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2070
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: Gul Onural
>         Assigned To: David Illsley
>            Priority: Critical
>
> ServiceClient sendRobust throws null pointer exception (see below) when web service reports
fault,
> if addressing module is engaged with the client. 
> If I don't engage addressing module on the client side, the sendRobust works fine
> when web service reports a fault. 
> java.lang.NullPointerException
>         at org.apache.axis2.context.MessageContext.isHeaderPresent(MessageContext.java:1054)
>         at org.apache.axis2.handlers.addressing.AddressingInHandler.invoke(AddressingInHandler.java:72)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:518)
>         at org.apache.axis2.engine.AxisEngine.receiveFault(AxisEngine.java:596)
>         at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOperationClient.send(RobustOutOnlyAxisOperat
> ion.java:99)
>         at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
>         at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:453)
>         at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:380)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message