You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan Mandel (JIRA)" <ji...@apache.org> on 2011/04/01 18:29:05 UTC
[jira] [Updated] (WICKET-3588)
AppendingStringBuffer.append(StringBuilder, int, int) interprets length as
stopIndex
[ https://issues.apache.org/jira/browse/WICKET-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Mandel updated WICKET-3588:
----------------------------------
Attachment: stacktrace.txt
Attachement is the stacktrace indicating the exception
> AppendingStringBuffer.append(StringBuilder, int, int) interprets length as stopIndex
> ------------------------------------------------------------------------------------
>
> Key: WICKET-3588
> URL: https://issues.apache.org/jira/browse/WICKET-3588
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC2
> Environment: any
> Reporter: Stefan Mandel
> Attachments: stacktrace.txt
>
>
> I got a StringIndexOutOfBoundsException while submitting Ajax from Wicket. It points to AppendingStringBuffer:508.
> The method StringBuilder.getChar expects the arguments (startIndex, stopIndex, buffer, count)
> AppendingStringBuilder provides (startIndex, length, buffer, count) => better use startIndex + length instead of length
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira