[
http://jira.xwiki.org/jira/browse/XWIKI-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22227
]
Sergiu Dumitriu commented on XWIKI-2040:
----------------------------------------
I tried to use a log4j.properties file for tests, but I don't know why it
doesn't work. That would be a general solution for tests, as there are many
things printed when running tests, and some of them scare users running the
tests for the first time.
> 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