You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2002/09/03 20:00:19 UTC
DO NOT REPLY [Bug 12271] New: -
String index out of range: 130
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12271>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12271
String index out of range: 130
Summary: String index out of range: 130
Product: Taglibs
Version: unspecified
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: String Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: leena.shah@listenpoint.com
I am using the truncateNicely Tag with a lower limit of 110 and upper of 130.
It works fine except for strings whose length falls in the range between the
two. I have a string "The PowerStar 4600 is a state of the art departmental
server providing high availability and excellent data protection." which is of
120 characters. Since it cannot find a space, it tries to get the substring
using the upper index which doesnt exist for that string and hence I get an out
of range exception.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>