> How can that statement with 'i' be throwing a > java.lang.IndexOutOfBoundsException when I just set 'i' to > increment from 1 to the length of xmlChildren?
Since you mentioned threads, are all of the variables properly scoped? Assuming the array has not changed, it sounds like you might be getting the wrong value because the variable is shared by other threads. -Leigh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327509 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4