You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Gul Onural (JIRA)" <ji...@apache.org> on 2007/01/31 22:28:05 UTC
[jira] Created: (AXIS2-2070) sendRobust throws null pointer
exception when a fault is reported from ws
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
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
[jira] Updated: (AXIS2-2070) sendRobust throws null pointer
exception when a fault is reported from ws
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-2070:
------------------------------------
Assignee: David Illsley
> 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
[jira] Commented: (AXIS2-2070) sendRobust throws null pointer
exception when a fault is reported from ws
Posted by "David Illsley (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (AXIS2-2070) sendRobust throws null pointer
exception when a fault is reported from ws
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469316 ]
Davanum Srinivas commented on AXIS2-2070:
-----------------------------------------
David,
Can you please take this one?
thanks,
dims
> 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
[jira] Resolved: (AXIS2-2070) sendRobust throws null pointer
exception when a fault is reported from ws
Posted by "David Illsley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Illsley resolved AXIS2-2070.
----------------------------------
Resolution: Fixed
Fix Version/s: nightly
I've just committed the fix to svn r517216
Apologies for the delay.
> 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
> Fix For: nightly
>
>
> 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