You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2014/12/05 19:53:12 UTC
[jira] [Resolved] (WICKET-5784) arraycopy with bad length in
AbstractRequestLogger:172
[ https://issues.apache.org/jira/browse/WICKET-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-5784.
--------------------------------
Resolution: Fixed
Fix Version/s: 6.19.0
7.0.0-M5
Assignee: Sven Meier
The whole copying method was bogus.
Thanks Jan!
> arraycopy with bad length in AbstractRequestLogger:172
> ------------------------------------------------------
>
> Key: WICKET-5784
> URL: https://issues.apache.org/jira/browse/WICKET-5784
> Project: Wicket
> Issue Type: Bug
> Components: wicket, wicket-devutils
> Affects Versions: 6.17.0
> Environment: 6.17.0 with DebugBar from devutils on Tomcat 7, Java 7 (Oracle)
> Reporter: Jan Cerny
> Assignee: Sven Meier
> Priority: Minor
> Labels: easyfix, patch
> Fix For: 7.0.0-M5, 6.19.0
>
>
> 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);}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)