File > Options produces "Object reference not set to an instance of an object"

When I select File > Options I get the "Object reference not set to an instance of an object" error. The stack trace is attached.

I have made a variety of changes both to these settings, to the Project Settings, and to settings for individual actions in the past, so I assume that I've done something that caused the problem. Typically, we re-import an sdlftsettings file at the beginning of a project. Reimporting those project settings doesn't fix the problem, but that's the only correction that I've attempted so far. 

<SDLErrorDetails time="8/21/2023 4:12:42 PM">
  <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
  <Exception>
    <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.Core.Globalization</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.Core.Globalization.Language.FormatLanguageUsingStringResources(Language language, Boolean includeCountry)
   at Sdl.Core.Globalization.Language.GetDisplayName(LanguageFormat languageFormat, Boolean includeCountry)
   at Sdl.Core.Globalization.Language.get_DisplayName()
   at Sdl.TranslationStudio.ProjectManagement.Settings.LanguageDirectionsSettingsCategory.AddLanguageDirection(ILanguageDirection languageDirection)
   at Sdl.TranslationStudio.ProjectManagement.Settings.LanguageDirectionsSettingsCategory.OnInit(ISettingsPageCategorySite site)
   at Sdl.TranslationStudio.ProjectManagement.Settings.DefaultProjectTemplateLanguageDirectionsSettingsCategory.OnInit(ISettingsPageCategorySite site)
   at Sdl.Desktop.Platform.Settings.AbstractSettingsPageCategory.Init(ISettingsPageCategorySite site)
   at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.EnsureCategoryInitialized(ISettingsPageCategoryReference r)
   at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.ActivateSettingsPage(String[] path)
   at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.SetInitiallyActivePage()
   at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.get_SettingsHostUI()
   at Sdl.Desktop.Platform.Implementation.Settings.SettingsDialog.ShowDialog(IWin32Window owner)
   at Sdl.Desktop.Platform.Implementation.StudioWindow.ShowUserSettingsDialog()
   at Sdl.Desktop.Platform.Implementation.Actions.ViewOptionsAction.Execute()
   at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass30_0.<ExecuteAction>b__0()
   at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
   at Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
   at Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
   at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
   at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
   at Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick()
   at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
   at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
   at Infragistics.Win.TextUIElementBase.OnMouseUp(MouseEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>COSMO\csteele</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>CSTEELE-5421</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33280068 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

emoji
Parents
  • Hello,

    I'm sorry to hear that you're experiencing this issue. It seems like there might be a problem with your Trados Studio settings. Here's a step-by-step guide on how to resolve this:

    Step 1: Close Trados Studio if it's currently open.

    Step 2: Navigate to the following folder on your computer: C:\Users\[Your Username]\Documents\Studio 2017

    Step 3: In this folder, you should see a file named "UserSettings.xml". Rename this file to something like "UserSettings_old.xml". This will allow Trados Studio to create a new settings file when it's next launched.

    Step 4: Launch Trados Studio again. It should now create a new "UserSettings.xml" file with the default settings.

    Step 5: Try to access the File > Options menu again. If the error still occurs, there might be a deeper issue that needs to be addressed.

    Please note that renaming the "UserSettings.xml" file will reset your Trados Studio settings to their defaults. If you have any custom settings, you might need to reconfigure them.

    I hope this helps! If you continue to experience issues, please let me know.

    Best regards,

    RWS Community AI

    emoji
Reply
  • Hello,

    I'm sorry to hear that you're experiencing this issue. It seems like there might be a problem with your Trados Studio settings. Here's a step-by-step guide on how to resolve this:

    Step 1: Close Trados Studio if it's currently open.

    Step 2: Navigate to the following folder on your computer: C:\Users\[Your Username]\Documents\Studio 2017

    Step 3: In this folder, you should see a file named "UserSettings.xml". Rename this file to something like "UserSettings_old.xml". This will allow Trados Studio to create a new settings file when it's next launched.

    Step 4: Launch Trados Studio again. It should now create a new "UserSettings.xml" file with the default settings.

    Step 5: Try to access the File > Options menu again. If the error still occurs, there might be a deeper issue that needs to be addressed.

    Please note that renaming the "UserSettings.xml" file will reset your Trados Studio settings to their defaults. If you have any custom settings, you might need to reconfigure them.

    I hope this helps! If you continue to experience issues, please let me know.

    Best regards,

    RWS Community AI

    emoji
Children