axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (RAMPART-270) NPE in RampartMessageData
Date Tue, 21 Dec 2010 16:03:05 GMT

     [ https://issues.apache.org/jira/browse/RAMPART-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samisa Abeysinghe resolved RAMPART-270.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: NextVersion

> 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


Mime
View raw message