Wicket
  1. Wicket
  2. WICKET-4151

Wrong argument to request logger in DebugBar panel

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.3
    • Component/s: wicket
    • Labels:
      None

      Description

      While testing Wicket 1.5.2 I faced the following exception:

      java.lang.IllegalArgumentException: copy.length must be at least 500
      at org.apache.wicket.util.lang.Args.isTrue(Args.java:137)
      at org.apache.wicket.protocol.http.AbstractRequestLogger.copyRequestsInOrder(AbstractRequestLogger.java:161)
      at org.apache.wicket.protocol.http.AbstractRequestLogger.getRequests(AbstractRequestLogger.java:147)
      at org.apache.wicket.devutils.inspector.RequestsPage$1.getObject(RequestsPage.java:90)
      at org.apache.wicket.devutils.inspector.RequestsPage$1.getObject(RequestsPage.java:88)
      at org.apache.wicket.Component.getDefaultModelObject(Component.java:1639)
      at org.apache.wicket.markup.html.list.PageableListView.getViewSize(PageableListView.java:154)
      ....

      Steps to reproduce:

      • start wicket-examples in DEVELOPMENT mode so that the devutils' DebugBar is displayed at the top-right corner of the page
      • open any example and click on "Inspector" link from the debug bar
      • click on "All Sessions" link at the top of the page
      • click on "Enable Request Recording"
      • refresh the current page so that a record with the current session appears in the table at the bottom
      • click on the session id link

        Activity

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development