Object reference not set to an instance of an object.
What happened to me was that i had upgraded my Web site to 3.2.2 by unzipping the the new version 3.2.2 over the top of version 3.1.1 on the production server and everything went great.
and then i changed my web.config on my development server and uploaded it to the production server and I got Object reference not set to an instance of an object.
I never transfered the upgraded web.config file to development before I made my edits.
I fixed it by transfering my release.config to my development machine copy and pasted my settings (see below) from web.config to the release.config and renamed the release.config to web.config uploaded it and everything is back to normal.
<add key="SiteSqlServer" value="Server=***;Database=***;uid=***;pwd=***;" />
<add key="MachineValidationKey" value="4F55CB7D0186E80C025E0CEFF5FF8B353936FCE7" />
<add key="MachineDecryptionKey" value="53AA0D039422AEE9E93EAB06BC9B46051DC7E39F32A18989" />
I also needed to get my FCK Editor changes put back into my web.config
Hope this helps.