Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-167

ArrayOutOfBounds Exception in MemoryAppender.getEvents()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.10
    • 1.2.11
    • Appenders
    • None
    • Windows Vista and XP.

    Description

      Getting this every once in a while.
      No specific reproduction scenario.

      Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
      at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
      at System.Collections.ArrayList.ToArray(Type type)
      at log4net.Appender.MemoryAppender.GetEvents()

      Attachments

        1. MemoryAppenderThreadSafeLocking.patch
          0.9 kB
          Steve Glendinning

        Activity

          People

            ron liu ron
            kclement Kenny Clement
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: