[
https://issues.apache.org/jira/browse/WSCOMMONS-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Rhenius updated WSCOMMONS-186:
-----------------------------------
Comment: was deleted
(was: This issue blocks the following example in Apache Rampart:
rampart-dist-1.5-bin\rampart-1.5\samples\policy\sample04\policy.xml)
> policy.getAlternatives() throws an NPE
> --------------------------------------
>
> Key: WSCOMMONS-186
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-186
> Project: WS-Commons
> Issue Type: Bug
> Components: Policy
> Environment: version = SNAPSHOT
> Reporter: Cindy McNally
>
> To reproduce: parse a policy document which contains a nested PolicyReference
> element and then invoke getAlternatives method. PolicyIterator normalizes
> policy and passes null for registry argument which causes the NPE within
> abstractPolicyOperator.normalizeOperator method.
> getAlternatives() should accept a PolicyRegistry argument and
> normalizeOperator() should check for a null registry.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.