Object reference not set to an instance of an object

From UPK wiki
Jump to: navigation, search

Symptom

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

Cause

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.

Resolution

  1. Check that your Publishing Style is not corrupted. Try publishing using the default style.
  2. 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.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox