Bug Report T1239746
Visible to All Users

Localization Editor in the End-User Report Designer for WinForms throws the Null Reference exception if there is a Swift Plot Chart in a report

created 9 months ago

Steps to reproduce:

  1. Create a report in the End-User Report Designer for WinForms;
  2. Add a XRChart to the report;
  3. Add a Swift Plot series to the chart;
  4. Invoke the Localization Editor ('Edit Localization…').

Expected results:

The Localization Editor is shown.

Current results:

The Null Reference exception is thrown.

Call Stack
> DevExpress.XtraReports.v24.1.dll!DevExpress.XtraReports.Localization.Native.LocalizationHelper.GetLocalizableProperties(object comp) Line 79 C# DevExpress.XtraReports.v24.1.dll!DevExpress.XtraReports.Localization.Native.LocalizationEditorModel.GetLocalizableTextProperties(System.Collections.Generic.IEnumerable<object> components) Line 188 C# DevExpress.XtraReports.v24.1.dll!DevExpress.XtraReports.Localization.Native.LocalizationEditorModel.LocalizationEditorModel(System.Collections.Generic.IList<DevExpress.XtraReports.Localization.LocalizationItem> items, System.Collections.Generic.IEnumerable<object> components, string currentLanguage) Line 74 C# DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.Localization.LocalizationEditorForm.InitializeModel(System.Collections.Generic.IList<DevExpress.XtraReports.Localization.LocalizationItem> items, System.Collections.Generic.IEnumerable<object> components, string language) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.LocalizationEditor.EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.ReportDesignerBase.OnEditLocalization(object sender, System.EventArgs e) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.Commands.ReportVerbsExecutor.ExecCommand(System.ComponentModel.Design.CommandID cmdID) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.Commands.CommandExecutorBase.ExecCommand(System.ComponentModel.Design.CommandID cmdID, object[] parameters) Unknown DevExpress.Data.v24.1.dll!DevExpress.XtraReports.Design.Commands.MenuCommandHandlerBase.OnMenuCommand(object sender, DevExpress.XtraReports.Design.Commands.CommandExecuteEventArgs e) Unknown DevExpress.Data.v24.1.dll!DevExpress.XtraReports.Design.Commands.CommandSetItem.Invoke(object[] args) Unknown DevExpress.Utils.v24.1.UI.dll!DevExpress.XtraReports.Design.XRMenuCommandServiceBase.GlobalInvoke(System.ComponentModel.Design.CommandID commandID, object[] args) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.Design.XRDesignerVerb.Invoke() Unknown DevExpress.XtraPrinting.v24.1.dll!DevExpress.XtraPrinting.Native.LinkLine.OnLinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e) Unknown System.Windows.Forms.dll!System.Windows.Forms.LinkLabel.OnLinkClicked(System.Windows.Forms.LinkLabelLinkClickedEventArgs e) Unknown System.Windows.Forms.dll!System.Windows.Forms.LinkLabel.OnMouseUp(System.Windows.Forms.MouseEventArgs e) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Label.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.LinkLabel.WndProc(ref System.Windows.Forms.Message msg) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, Interop.User32.WM msg, System.IntPtr wparam, System.IntPtr lparam) Unknown [Native to Managed Transition] [Managed to Native Transition] System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(System.UIntPtr dwComponentID, Interop.Mso.msoloop uReason, void* pvLoopData) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Unknown System.Windows.Forms.dll!System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form form) Unknown System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window owner) Unknown DevExpress.XtraReports.v24.1.Extensions.dll!DevExpress.XtraReports.UI.ReportDesignTool.ShowDesignerDialog(DevExpress.XtraReports.UserDesigner.IDesignForm form, DevExpress.XtraReports.UserDesigner.DesignDockPanelType hiddenPanels) Unknown XtraReports.dll!XtraReports.Program.Main() Line 14 C#

Additional information:

This issue also affects the Visual Studio Report Designer since it is based on the End-User Report Designer for WinForms.

Answers approved by DevExpress Support

created 9 months ago

We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

Important Notes:

  • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
  • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.

    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.