commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjetil Ødegaard (Commented) (JIRA) <>
Subject [jira] [Commented] (OGNL-44) OgnlRuntime.getPermission in 3.0.3 returns null
Date Fri, 09 Mar 2012 11:12:58 GMT


Kjetil Ødegaard commented on OGNL-44:

This bug prevents us from upgrading to Struts, since that requires OGNL version newer
than 3.0.2.

That means it's a blocker for those of us who have Java 2 Security enabled.

This was especially hard to pin-point because the NullPointerException caused by passing null
to SecurityManager is later swallowed by OGNL.
> OgnlRuntime.getPermission in 3.0.3 returns null
> -----------------------------------------------
>                 Key: OGNL-44
>                 URL:
>             Project: Commons OGNL
>          Issue Type: Bug
>            Reporter: Kristof Vanbecelaere
>            Priority: Blocker
> OgnlRuntime.getPermission returns null once the cache has been setup. I think the assignment
to result should be outside of the if (permissions == null) block.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message