This is a segment of code from an app I\'ve inherited, a user got a Yellow screen of death:
Object reference not set to an instance of an object
Sprinkle in a few variables for all the property-queries on that (loooooongg) line temporarily. Run the debugger, Check values and Corner the little bug.