SDLTrados Studio 2021 - 16.0.2.3343 crashes when adding a term from inside the editor

Hi Everyone!

My shiny new SDLTrados Studio 2021 - 16.0.2.3343 crashes when adding a term from inside the editor.

Two error messages are shown, the files are attached.

The last Windows update was this one: 

October 29, 2020-KB4580419 Cumulative Update Preview for .NET Framework 3.5 and 4.8 for Windows 10, version 2004, Windows Server, version 2004, Windows 10, version 20H2, and Windows Server, version 20H2

Quick Add New Term is also affected.

The only way to currenty add terms, is to use Multiterm.

Please, help.

UPDATE: It seems that the update is not the culprit. I have deinstalled the update, and the problem is still there.


<SDLErrorDetails time="01.11.2020 9:50:37">
  <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.TranslationStudio.Editor</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.AbstractActiveRangeAction.IsActionEnabled()
   at Sdl.TranslationStudio.Api.Editor.AbstractActiveDocumentAction.UpdateAction()
   at Sdl.TranslationStudio.Editor.AbstractActiveRangeAction.sideBySideEditor_Target_Entered(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnGotFocus(EventArgs e)
   at System.Windows.Forms.Control.InvokeGotFocus(Control toInvoke, EventArgs e)
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
   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>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.0.2.3343</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1251</CodePage>
    <LoggedOnUser>ELITEBOOK840\User</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ELITEBOOK840</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16180312 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>
<SDLErrorDetails time="01.11.2020 9:50:49">
  <ErrorMessage>Attempted to divide by zero.</ErrorMessage>
  <Exception>
    <Type>System.DivideByZeroException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.MultiTerm.Client.UI</Source>
    <HResult>-2147352558</HResult>
    <StackTrace><![CDATA[   at Sdl.MultiTerm.Client.UI.Browser.BufferedBrowser.CreateList(Int32 start, Int32 items, Int32 maxItems)
   at Sdl.MultiTerm.Client.UI.Browser.BufferedBrowser.Browse(IFilteredHitTerm startTerm, Int32 maxItems, MtBrowseDirection where)
   at Sdl.MultiTerm.Client.UI.Browser.BrowseCalculator.ShowTerm(IFilteredHitTerm hit, Boolean fullRefresh)
   at Sdl.MultiTerm.Client.UI.Browser.TermBrowser.set_ActiveTerm(ITermHit value)
   at Sdl.MultiTerm.Client.MiniEditor.MiniEditorControl.SetItems(TermbaseStatus activeTermbase, ITermHit activeTerm)
   at Sdl.MultiTerm.Client.MiniEditor.MiniEditorControl.AddTerm(TermbaseStatus activeTermbase, String source, String target)
   at Sdl.MultiTerm.Client.MiniEditor.MiniEditor.AddTerm(TermbaseStatus activeTermbase, String source, String target)
   at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermViewerWinFormsUI.AddTerm(ITermbaseInfo termbaseInfo, String source, String target)
   at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermViewerWinFormsUI.AddTerm(String source, String target)
   at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.TermBaseViewPartX.TerminologyProviderViewerAddTerm(String source, String target)
   at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.TermBaseViewPartX.AddTerm(ITerminologyProvider termbase, String source, String target)
   at Sdl.TranslationStudio.Editor.Terminology.EditorTermbaseUtils.CompleteAddTerm(ITermBaseWindow tbWindow, String sourceText, String targetText, ITermHit termToEdit, ITerminologyProvider activeTermbase)
   at Sdl.TranslationStudio.Editor.Terminology.EditorTermbaseUtils.AddOrEditTerm(IEditorService editorService, ITermbaseProvider tbProvider, String sourceText, String targetText, Action`1 launchViewer)
   at Sdl.TranslationStudio.Editor.Terminology.EditorTermbaseUtils.AddTerm(IEditorService editorService, ITranslatableDocument translatableDocument, String sourceText, String targetText)
   at Sdl.TranslationStudio.Editor.Terminology.Actions.AddNewTerm.AddTerm(IEditorService editorService, ITranslatableDocument translatableDocument, String sourceText, String targetText)
   at Sdl.TranslationStudio.Editor.Terminology.Actions.AbstractAddNewTermAction.Execute()
   at Sdl.Desktop.Platform.Implementation.CommandBars.StaticAction.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.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
   at Sdl.Desktop.Platform.WinForms.StudioWindowForm.OnPreviewKeyDown(Keys keys)
   at Sdl.Desktop.Platform.WinForms.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
   at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.0.2.3343</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1251</CodePage>
    <LoggedOnUser>ELITEBOOK840\User</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ELITEBOOK840</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16180312 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Parents Reply
  • Thank you for logging a support case, Paul!

    Some interesting further observations regarding the problem:

    1. Yesterday evening I re-installed Multiterm from scratch and for a time it worked like it is supposed. to. However, this morning the problem is back: I cannot add terms from inside Trados wiithout the software crashing. This is interesting, as turning the computer off for the night seems to affect Trados negatively. 

    2. Update on 2020-11-02 at 13:31 pm: The problem seems to disappear and reappear, not sure what is causing it.

    No new installations or any other changes have been effected.

    Best regards,

    Pavel

Children
No Data