Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5784

arraycopy with bad length in AbstractRequestLogger:172

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.17.0
    • 7.0.0-M5, 6.19.0
    • wicket, wicket-devutils
    • 6.17.0 with DebugBar from devutils on Tomcat 7, Java 7 (Oracle)

    Description

      When clicking on DebugBar org.apache.wicket.devutils.inspector.LiveSessionsPage NullPointerException is thrown.
      After investigating the reason I think AbstractRequestLogger:172 arraycopy params cause it.
      arraycopy(requestWindow, 0, copy, requestWindow.length - oldestPos, indexInWindow);
      Should be changed to:
      arraycopy(requestWindow, 0, copy, requestWindow.length - oldestPos, oldestPos);

      Attachments

        Activity

          People

            svenmeier Sven Meier
            honzik Jan Cerny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: