yeah, this makes no sense whatsoever:
// firstIndex + size must be smaller than Integer.MAX_VALUE
if ((Integer.MAX_VALUE - size) <= firstIndex)
{
throw new IllegalArgumentException("firstIndex + size must be smaller than Integer.MAX_VALUE");
}
for one thing, we shouldn't be throwing an IAE because there's no argument!
for another, the comment is totally different from the conditional and i don't understand what the conditional is supposed to check...
Jonathan Carlson wrote:
I'm running into an IllegalArgumentException: firstIndex + size must be smaller than Integer.MAX_VALUE
I'm looking into it, but my time is limited and my gut tells me this is a wicket bug. (Or if it is my fault, it seems the framework should have caught it before it got to this point and provided a better error message :-)
I'll let you know what I find but it may be a few days. In the meantime if something jumps out at you I'd appreciate the help. :-)
Thanks!
Jonathan
********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
Katun Corporation -- Celebrating 25 Years of Service
www.katun.com **********************************************************************
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
