SDLTrados Studio 2021 - 16.0.2.3343 crashes when adding a term

Hi Everyone!

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

Two errors are shown:

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

and

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

Please, help!

Best regards,

Pavel

Parents
  • The reason your post is considered as spam is because you don't add the error message as a file attached to your post... which is surely easier than copy pasting it anyway?  When you fill the post with this sort of text like this then this happens:

    • the automated spam engines pick it up and automatically block your post
    • we have to moderate it
    • we have to explain it
    • and it's actually harder to read through the file like this

    I'll edit your post in a minute so you can see the difference.  But in the meantime please make sure you have also updated MultiTerm.  You should have these versions:

    SDL Trados Studio 2021 - 16.0.2.3343
    SDL MultiTerm 2021 - 16.0.1.304

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Reply
  • The reason your post is considered as spam is because you don't add the error message as a file attached to your post... which is surely easier than copy pasting it anyway?  When you fill the post with this sort of text like this then this happens:

    • the automated spam engines pick it up and automatically block your post
    • we have to moderate it
    • we have to explain it
    • and it's actually harder to read through the file like this

    I'll edit your post in a minute so you can see the difference.  But in the meantime please make sure you have also updated MultiTerm.  You should have these versions:

    SDL Trados Studio 2021 - 16.0.2.3343
    SDL MultiTerm 2021 - 16.0.1.304

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children
  • Hi Paul,

    1. OK, point taken. As this is a repeat post (I assume) it makes sense to keep just one of them open.

    2. Regarding the automatic flagging as spam at a time when a linguist is looking for help urgently... There is probably another possible approach there? Please, note that we only visit this forum occasionally, and we cannot remember all the nuances and formatiing requirements that, if broken, makes it impossible for us to post. Maybe add a warning message at the time of posting that error messages should be attached rather than incorporated in the body of the message? I have received two or three separate emails post factum giving me opportunity to object to the flagging of my post as spam and not a single warning when one was most needed.

    Please, note that for someone whose message has been flagged as spam, the person will not even realize why that is happening.

    Best regards,

  • There is probably another possible approach there? Please, note that we only visit this forum occasionally, and we cannot remember all the nuances and formatiing requirements that, if broken, makes it impossible for us to post. Maybe add a warning message at the time of posting that error messages should be attached rather than incorporated in the body of the message?

    Absolutely, I completely agree with you.  It's not so simple though because the engine, which isn't ours by the way as it's just an off the shelf Community solution with some customisation (quit a lot in fact), cant really tell the difference between a valid amount of text like this and something it should prevent.  So as much as I really do agree with you because I'd like it all to be really easy for people to use and get prompted in the right way etc. I think the solution for now is to try and make people more aware of how to work with it.

    I've tried the setting up rules approach before and this rarely works because nobody reads them ;-)  So the best approach is to simply explain to people, which I have started to do recently, in the forum where it's seen and eventually people will learn organically, and even explain to others :-)

    One thing for sure, I'd prefer to see this than the sort of spam we get otherwise making its way into the forums unchecked.

    Paul Filkin | RWS

    Design your own training!
    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub