You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Karl Rhenius (JIRA)" <ji...@apache.org> on 2010/08/05 14:22:16 UTC
[jira] Commented: (WSCOMMONS-186) policy.getAlternatives() throws
an NPE
[ https://issues.apache.org/jira/browse/WSCOMMONS-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895654#action_12895654 ]
Karl Rhenius commented on WSCOMMONS-186:
----------------------------------------
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.