You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2008/09/09 20:21:44 UTC

[jira] Closed: (COCOON-2243) NPE when calling ApplicationUtil.isUserInRole

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

Jörg Heinicke closed COCOON-2243.
---------------------------------

                 Resolution: Fixed
              Fix Version/s:     (was: 2.2)
                             2.1.12-dev (Current SVN)
    Fix version (Component): Parent values: Blocks: Authentication(10233). 
                   Assignee: Jörg Heinicke

Patch applied. Thanks, Benjamin.

> NPE when calling ApplicationUtil.isUserInRole
> ---------------------------------------------
>
>                 Key: COCOON-2243
>                 URL: https://issues.apache.org/jira/browse/COCOON-2243
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Authentication Framework
>    Affects Versions: 2.1.11, 2.2
>            Reporter: Benjamin Boksa
>            Assignee: Jörg Heinicke
>            Priority: Minor
>             Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN)
>
>         Attachments: ApplicationUtil.java.patch
>
>
> A NullPointerException is thrown when calling ApplicationUtil.isUserInRole(final User user, final String role, final Map objectModel) with user == null. The attached patch should fix that issue. Patch was made against the nightly build (cocoon_20080909041525.tar.gz).
> I hope I submitted everything correctly.

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