Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2040

api.User#isUserInGroup should not throw exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.3 M2
    • 1.2
    • {Unused} APIs
    • None
    • Unit

    Description

      Sometimes a NullPointerException is thrown, which should be caught.

      java.lang.NullPointerException
      	at com.xpn.xwiki.api.User.isUserInGroup(User.java:51)
      

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: