From: Jesse E. (JIRA) <ji...@co...> - 2007-01-31 23:35:45
|
AbstractRequest can have a arrayindex error ------------------------------------------- Key: GEOT-1145 URL: http://jira.codehaus.org/browse/GEOT-1145 Project: GeoTools Issue Type: Bug Components: core main Affects Versions: 2.2.2 Reporter: Jesse Eichar Assigned To: Richard Gould Fix For: 2.2.3 Consider this: http://something.com?SID= this will cause a array index error at while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); String[] param = token.split("="); //$NON-NLS-1$' if (param != null && param[0] != null) { ----> setProperty(param[0].toUpperCase(), param[1]); <------- } because param only has length 1. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |