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


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

Reply via email to