You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/05 19:42:13 UTC
[jira] [Commented] (WICKET-5784) arraycopy with bad length in
AbstractRequestLogger:172
[ https://issues.apache.org/jira/browse/WICKET-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235869#comment-14235869 ]
ASF subversion and git services commented on WICKET-5784:
---------------------------------------------------------
Commit 2a25390957d9151e6176830cb617f42d1f5680f3 in wicket's branch refs/heads/wicket-6.x from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=2a25390 ]
WICKET-5784 fixed copying of requests
> 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
> Priority: Minor
> Labels: easyfix, patch
>
> 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)