Pravin, Thanks for your suggestions.
On Wed, Aug 18, 2010 at 9:28 AM, p...@vin Uttarwar <[email protected]>wrote: > > > hopefully youre project is compiling correctly and try to put some traces > before and after that line. > It compiles properly, and traces reveal nothing. After the line, of course, there's nothing to trace because the function fails. > > Alos commenting that line removing the error or not? > You can't simply comment out the line. Its logic wraps the entire body of the function. The error occurs when the object being tested for null actually *is* null. If you comment out that line, you simply move the error down to the point of where the code attempts to loop over an object that turns out to be null. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560

