NPE in RampartMessageData.java:308 when Rampart engaged in axis2.xml
--------------------------------------------------------------------
Key: AXIS2-4512
URL: https://issues.apache.org/jira/browse/AXIS2-4512
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.4.1
Reporter: EasternWahoo
Attempted to engage Rampart in axis2.xml, in preparation for securing jax-ws
services. This works fine when Rampart is configured in services.xml.
The environment include Axis2 1.4, Rampart 1.4 and Axio 1.2.8.
Stack trace:
[9/30/09 15:23:00:707 EDT] 00000033 ServletWrappe E SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet: AxisServlet.
Exception thrown : java.lang.NullPointerException
at
org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:308)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:520)
at
org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416)
at
org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Others have reported similar issues in this thread: :
http://www.nabble.com/Wrong-response-when-authentication-fails-with-Rampart-(not-SOAP-but--HTML)-td24321586.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.