Possible Duplicate:
What is a NullReferenceException in .NET?
For example, "System.NullReferenceException
was unhandled", with Message "Object reference not set to an instance of an object."
What is the meaning of this exception, and how can it be solved?