Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1019

LogEvent#log(Logger) fail when argument array is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4.4
    • Fix Version/s: 8.2, 7.4.5
    • Component/s: Logging
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Getting

      Caused by: java.lang.IllegalArgumentException: Arguments cannot both be null
              at org.apache.commons.lang3.ArrayUtils.add(ArrayUtils.java:4015)
              at org.xwiki.logging.event.LogEvent.log(LogEvent.java:145)
              at org.xwiki.logging.LogQueue.log(LogQueue.java:53)
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: