[ 
https://issues.apache.org/jira/browse/RAMPART-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790125#action_12790125
 ] 

gerhard presser commented on RAMPART-270:
-----------------------------------------

the patch seems to work, can somebody apply it to trunk?
it would be nice if this bug would be fixed in 1.5.
regards,
 gerhard

> NPE in RampartMessageData
> -------------------------
>
>                 Key: RAMPART-270
>                 URL: https://issues.apache.org/jira/browse/RAMPART-270
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>            Reporter: Martin Clough
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: RAMPART-270.patch
>
>
> When using Rampart with Tuscany to secure web services, if the security 
> processing fails (e.g. wrong password entered), then I get a NPE from 
> RampartMessageData:
> java.lang.NullPointerException
>       
> org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:308)
>       org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
>       org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
>       org.apache.axis2.engine.Phase.invoke(Phase.java:317)
>       org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
>       org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:520)
>       
> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416)
>       
> org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
>       org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
> org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:107)
>       
> org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:93)
> This is similar to RAMPART-165, but further down the code.

-- 
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