Bug Report T297847
Visible to All Users

SkinEditor: NullReferenceException is thrown on adding a new skin

created 9 years ago

Steps to reproduce:
- Open SkinEditor
- Create new project (leave all names but deactivate "Load new elements from Template Skin")
- * (if I save at this point, then there would be no exception)
- Open Project Properties
- Click on "Add New Skin"
- Select previous created Skin (is the last one in the combobox) as Template Skin
- Press on OK without changing another settings
! Exception

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei DevExpress.Skins.Info.SkinBlobLoader.LoadBlob(Stream fs, Boolean asImage)
   bei DevExpress.Skins.Info.SkinBlobXmlCreator.LoadBlob()
   bei DevExpress.Skins.Info.SkinBlobXmlCreator.Load()
   bei DevExpress.Skins.SkinContainer.Load()
   bei DevExpress.Skins.SkinContainer.Clone(String skinName, Boolean register)
   bei SkinEditor.SkinItem.Load()
   bei SkinEditor.SkinProject.AddItem(SkinItem item)
   bei SkinEditor.Modules.frmNewProject.UpdateProject()
   bei SkinEditor.Modules.frmProjectProperties.sbAdd_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
   bei DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
   bei DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Comments (1)
Alisher (DevExpress Support) 9 years ago

    Hi Andreas,

    I have reproduced the issue and passed this ticket to our developers for further research. We will inform you of our results once we have any. Please stay tuned.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.