Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3166
Error when trying to load AppStylist for runtime editing
posted
Hi,

I am trying to load the AppStylist from the application to do the runtime editing. There seems to be a problem with UltraToolbarManager being present on the form.

Following is the exception trace. Any clue for the error.

System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="Infragistics2.Win.UltraWinToolbars.v7.2"
StackTrace:
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnFormLoad(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at Infragistics.Win.AppStyling.Runtime.AppStylingControlBase.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at Infragistics.Win.AppStyling.Runtime.Chunk.set_Control(Control value)
at Infragistics.Win.AppStyling.Runtime.ChunkContainer.AddChunks(Control[ controls)
at Infragistics.Win.AppStyling.Runtime.AppearanceEditor.InitializeUI()
at Infragistics.Win.AppStyling.Runtime.AppearanceEditor..ctor()
at Infragistics.Win.AppStyling.Runtime.StateEditor..ctor()
at Infragistics.Win.AppStyling.Runtime.RoleEditor.get_StateEditor()
at Infragistics.Win.AppStyling.Runtime.RoleEditor.InitializeUI()
at Infragistics.Win.AppStyling.Runtime.RoleEditor..ctor()
at Infragistics.Win.AppStyling.Runtime.PropertyEditor.get_RoleEditor()
at Infragistics.Win.AppStyling.Runtime.PropertyEditor.InitializeUI()
at Infragistics.Win.AppStyling.Runtime.PropertyEditor..ctor()
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport.get_PropertyEditor()
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport.EnableControls()
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport.SetCurrentApplicationStyleLibrary(ApplicationStyleLibrary newApplicationStyleLibrary, String fileName, Boolean shouldBeDirty)
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport.InitializeUI()
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport..ctor()
at Infragistics.Win.AppStyling.Runtime.AppStylistSupport..ctor(IContainer container)
at Infragistics.Win.AppStyling.Runtime.MainForm.InitializeComponent()
at Infragistics.Win.AppStyling.Runtime.MainForm..ctor()
at Infragistics.Win.AppStyling.Runtime.AppStylistRuntime.get_MainForm()
at Infragistics.Win.AppStyling.Runtime.AppStylistRuntime.ShowRuntimeApplicationStylingEditor(Form owningForm, String mainWindowCaption)
Parents Reply Children
No Data