[ 
https://issues.apache.org/jira/browse/WICKET-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014720#comment-13014720
 ] 

Stefan Mandel edited comment on WICKET-3588 at 4/1/11 4:27 PM:
---------------------------------------------------------------

Attachment is the stacktrace indicating the exception

      was (Author: almond):
    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

Reply via email to