[
http://jira.xwiki.org/jira/browse/XWIKI-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22230
]
Vincent Massol commented on XWIKI-2040:
---------------------------------------
why not simply capture the output? That's the simplest I think.
System.getOut()
...
System.out = ...
wdyt?
> 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