I cannot reproduce this error. Perhaps related to configuration or environment on your machine. Is your machine up to date on all service paks and windows updates?
Since you are using source code why don't you set a break point and step through the code and find out exactly what is null. I would set a break point in AdminStoreSettings.aspx.cs and/or in mojoBasePage.cs
Hope it helps,
Joe