[
http://jira.xwiki.org/jira/browse/XWIKI-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergiu Dumitriu updated XWIKI-2040:
-----------------------------------
Fix Version/s: 1.3 M2
(was: 1.3 M1)
Fixed the new NPE, too. It was thrown inside the catch block, when logging the
previous exception.
> api.User#isUserInGroup should not throw exceptions
> --------------------------------------------------
>
> Key: XWIKI-2040
> URL: http://jira.xwiki.org/jira/browse/XWIKI-2040
> Project: XWiki Platform
> Issue Type: Bug
> Components: APIs
> Affects Versions: 1.2
> Reporter: Sergiu Dumitriu
> Assigned To: Sergiu Dumitriu
> Priority: Minor
> Fix For: 1.3 M2
>
> Attachments: isUserInGroupExceptions200801310302.txt
>
>
> Sometimes a NullPointerException is thrown, which should be caught.
> {noformat}
> java.lang.NullPointerException
> at com.xpn.xwiki.api.User.isUserInGroup(User.java:51)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications