You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/02/09 18:43:57 UTC

[jira] Resolved: (NEETHI-5) policy.getAlternatives() throws an NPE

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

Daniel Kulp resolved NEETHI-5.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
         Assignee: Daniel Kulp

> policy.getAlternatives() throws an NPE
> --------------------------------------
>
>                 Key: NEETHI-5
>                 URL: https://issues.apache.org/jira/browse/NEETHI-5
>             Project: Neethi
>          Issue Type: Bug
>         Environment: version = SNAPSHOT
>            Reporter: Cindy McNally
>            Assignee: Daniel Kulp
>             Fix For: 3.0
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org