Object reference not set to an instance of an object
The following messages (or similar) are issued during Publishing:
Object reference not set to an instance of an object. Developer encountered a critical error and must be restarted. Exiting will close the application. If possible, Developer will ask to save your work. System.NullReferenceException: Object reference not set to an instance of an object. at Gkn.OnDemand.Publishing.WizardPanels.OnLeavePanel(Int32 indexPanel, ButtonReturnedInfo buttonReturnedInfo) in c:\BuildRoot\Engineering\Branches\Hacienda\Core_DotNet\PublishingComponent\WizardPanels.cs:line 1240
UPK cannot find a required file. This is most likely a system file. In the example above, the Publishing Wizard is displayed, but UPK cannot find the (code) files required to display the next step or dialog box.
- Check that your Publishing Style is not corrupted. Try publishing using the default style.
- Check to see if other users have the same error - if not, it is likely an issue with your System installation files. Check everything in, and then reinstall the UPK Developer Client.