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 "Gerald Preissler (JIRA)" <ji...@apache.org> on 2008/01/16 15:12:40 UTC

[jira] Created: (WSCOMMONS-295) AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty

AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty
--------------------------------------------------------------------------------

                 Key: WSCOMMONS-295
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-295
             Project: WS-Commons
          Issue Type: Bug
          Components: Policy
            Reporter: Gerald Preissler
         Attachments: AbstractPolicyOperator_2.0.2.patch

When policyComponents.size() == 0, the statement policyComponents.get(0) in getFirstPolicyComponent results in an NPE.

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


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


[jira] Updated: (WSCOMMONS-295) AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty

Posted by "Gerald Preissler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerald Preissler updated WSCOMMONS-295:
---------------------------------------


The attached patch against neethi-2.0.2-src should fix the problem

> AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty
> --------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-295
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-295
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: Policy
>            Reporter: Gerald Preissler
>         Attachments: AbstractPolicyOperator_2.0.2.patch
>
>
> When policyComponents.size() == 0, the statement policyComponents.get(0) in getFirstPolicyComponent results in an NPE.

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


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


[jira] Updated: (WSCOMMONS-295) AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty

Posted by "Gerald Preissler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerald Preissler updated WSCOMMONS-295:
---------------------------------------

    Attachment: AbstractPolicyOperator_2.0.2.patch

The attached patch should resolve the problem

> AbstractPolicyOperator.getFirstPolicyComponent throws NPE when Operator is empty
> --------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-295
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-295
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: Policy
>            Reporter: Gerald Preissler
>         Attachments: AbstractPolicyOperator_2.0.2.patch
>
>
> When policyComponents.size() == 0, the statement policyComponents.get(0) in getFirstPolicyComponent results in an NPE.

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


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