Object reference not set to an instance of an object

Hello

One of the translators in my office is getting this error message every time using CTRL+enter or other methods to save a segment.  Clicking Ok and Trados shuts down.

Using Trados Studio 2021 SR2 - 16.2.12.9338

File is Word 150kb 12 pages and about 3500 words.

Noticed that some suggestions were to reset layout.  Another suggestion was to remove plugins.  Has same plugins as other translators and they did not have this issue.

Any other suggestions--others did not resolve issue.

Have included log file.

Error dialog box in Trados Studio with message 'Object reference not set to an instance of an object.' with Knowledge Base and Community buttons and an OK button.

/cfs-file/__key/communityserver-discussions-components-files/90/sdlerror_2D00_202388_2D00_12h5m43s.sdlerror.sdlerror.xml



Generated Image Alt-Text
[edited by: Trados AI at 12:02 PM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •  
    Hello, this seems to be another instance of a concurrency issue we have on the Editor to Translation Resources communication. We are working on a fix that will come with next CU. 

    emoji
  • I get this error message when I go to File > Options. I assume that it's something to do with my messing around with the settings and the project settings. As with disabling the Termbase Verification, do you think that there's an easy way to undo something or start over? We have the settings that we want to do in a file I can import and written down to recreate, but simply reimporting the settings for a project did not make the overall options available again.

    Hopefully, I've successfully managed to attach the stack trace in case it helps.

    <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
Reply
  • I get this error message when I go to File > Options. I assume that it's something to do with my messing around with the settings and the project settings. As with disabling the Termbase Verification, do you think that there's an easy way to undo something or start over? We have the settings that we want to do in a file I can import and written down to recreate, but simply reimporting the settings for a project did not make the overall options available again.

    Hopefully, I've successfully managed to attach the stack trace in case it helps.

    <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
Children