Hi Shavantha,
I tried Entitlement mediator and It is working fine. Proxy service is
secured with UT. Probably you are missing some configuration.

Thanks,
Nuwanw


On Thu, May 29, 2014 at 5:54 PM, Shavantha Weerasinghe
<[email protected]>wrote:

> Hi All
>
> To verify a scenario on ticket I am using ESB 4.8.1 and IS4.6.0. WIthin
> the ESB I am using Entitlement Mediator. However, when I execute the
> secured proxy via soap ui I get the below NPE. Is their any configuration
> or any patch that needs to be applied
>
>
>
> [2014-05-29 17:38:20,052]  INFO - LogMediator Hit = inSequence
> [2014-05-29 17:38:20,209] ERROR - EntitlementMediator Error occurred while
> evaluating the policy
> java.lang.NullPointerException
>     at
> org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator.mediate(EntitlementMediator.java:172)
>     at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
>     at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
>     at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
>     at
> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:156)
>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>     at
> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403)
>     at
> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
>     at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>     at java.lang.Thread.run(Thread.java:662)
>
>
>
> Regards,
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to