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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2010/12/21 17:03:01 UTC

[jira] Commented: (RAMPART-270) NPE in RampartMessageData

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

Samisa Abeysinghe commented on RAMPART-270:
-------------------------------------------

Applied the patches : At revision: 1051536

> 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: Samisa Abeysinghe
>             Fix For: NextVersion
>
>         Attachments: npe.patch, 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.


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