ws-rampart-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (RAMPART-162) NullPointerException thrown when a non-existing algorythm suite is used in a policy file when invoking a secured service
Date Wed, 07 May 2008 10:55:55 GMT

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

Nandana Mihindukulasooriya reassigned RAMPART-162:
--------------------------------------------------

    Assignee: Nandana Mihindukulasooriya  (was: Ruchith Udayanga Fernando)

> NullPointerException thrown when a non-existing algorythm suite is used in a policy file
when invoking a secured service 
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAMPART-162
>                 URL: https://issues.apache.org/jira/browse/RAMPART-162
>             Project: Rampart
>          Issue Type: Bug
>         Environment: Java version "1.5.0_14", Ubuntu7.10
>            Reporter: Evanthika Amarasiri
>            Assignee: Nandana Mihindukulasooriya
>
> Tried to invoke a secured service using a policy file with a non-existing algorithm suite
and a NullPointerException was thrown
> java.lang.NullPointerException
>         at org.apache.ws.security.message.WSSecEncrypt.getKeyGenerator(WSSecEncrypt.java:666)
>         at org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:232)
>         at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:510)
>         at org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
>         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.send(AxisEngine.java:429)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:190)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:174)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:282)
>         at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:224)
>         at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:236)
>         at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:161)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:60)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:125)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:178)
>         at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:89)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:238)
>         at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:194)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message