NullReferenceException
occurs when code tries to access a member on a null object. In a cBot, this often indicates a bug (e.g. failing to initialize an object). Visual Studio will pause at the exception point. Using breakpoints or assertions (checking for null before use) helps catch null references early.
Null Reference (C#)
Null Reference - A