Studio 2019 - Error related to MultiTerm - This will only be understood by the developers, nobody else

Former Member
Former Member

This happened just after changing the MultiTerm search parameters in Project Settings. After clicking on OK, that the message below, kept popping up and I had to save and close Studio.

Error message in SDL Trados Studio stating 'This methodproperty must be called on the UI thread' with instructions to fix the problem using InvokeRequired property.

<SDLErrorDetails time="3/23/2020 9:04:51 PM">
  <ErrorMessage>This method/property must be called on the UI thread. Fix the problem by testing the InvokeRequired property on the control and call Invoke() or BeginInvoke() on the control instead of calling directly when InvokeRequired is true.</ErrorMessage>
  <Exception>
    <Type>InvokeRequiredException, Sdl.DesktopEditor.Control, Version=15.2.5.2145, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source>Sdl.DesktopEditor.Control</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at AbstractFrameworkEditControl.RemoveColumn(ICustomColumn column)
   at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.RemoveColumn(IFrameworkEditControl editControl, Type columnType)
   at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.RemoveContextColumn()
   at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.RemoveTranslationUnitInfoColumns()
   at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.ShowTranslationUnits(IList`1 tus)
   at Sdl.TranslationStudio.Common.TranslationMemory.SearchResultTranslationMemoryControl.ShowTranslationUnits(IList`1 tus)
   at Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.set_TranslationUnits(IList`1 value)
   at Sdl.TranslationStudio.Editor.TranslationMemory.CompoundTranslationMemorySearchResultsControl.SetSearchResults(SearchResults searchResults)
   at Sdl.TranslationStudio.Editor.TranslationMemory.CompoundTranslationMemorySearchResultsControl.SetSearchResults(SearchResults searchResults, IEnumerable`1 cascadeMessages)
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl.UpdateContent()
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl.set_EditorTranslationResults(IEditorTranslationResults value)
   at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationMemoryViewPartControl.TranslationProvider_TranslationStarted(IEditorTranslationResults results)
   at Sdl.TranslationStudio.Api.Editor.TranslationResultsEventHandler.Invoke(IEditorTranslationResults results)
   at Sdl.TranslationStudio.Editor.TranslationMemory.EditorTranslationProvider.OnTranslationStarted()
   at Sdl.TranslationStudio.Editor.TranslationMemory.EditorTranslationProvider.Translate(ITranslationRequest request, ITranslatorFactory translatorFactory)
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslateSegmentWorker.Translate()
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.TranslateSegment(ISegmentContainerNode segmentNode, ITranslatorFactory translatorFactory)
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.TranslateActiveSegment()
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.TryTranslateActiveSegment()
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.Document_TranslationProvider_PropertyChanged(Object sender, PropertyChangedEventArgs e)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Sdl.TranslationStudio.Editor.TranslationMemory.EditorTranslationProvider.OnPropertyChanged(PropertyChangedEventArgs e)
   at Sdl.TranslationStudio.Editor.TranslationMemory.EditorTranslationProvider.ResetTranslationMemories()
   at Sdl.TranslationStudio.Editor.TranslationMemory.EditorTranslationProvider.CascadeItem_CascadeItemChanged(Object sender, CascadeItemChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Sdl.ProjectApi.ProjectCascadeItem.OnCascadeItemChanged(ProjectCascadeItem oldCascadeItem, ProjectCascadeItem newCascadeItem)
   at Sdl.TranslationStudio.ProjectManagement.Settings.TranslationMemoriesSettingsPage.Save()
   at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.OnSave(Boolean validateInput)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.2.5.2145</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
     <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
     <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8378192 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>



Generated Image Alt-Text
[edited by: Trados AI at 1:43 PM (GMT 0) on 5 Mar 2024]
emoji
Parents
  • The reason your posts like this are picked up as spam is because you paste the entire error stack in as text.  In addition to triggerring the spam filter you also provide a messy post that is hard to read and we have to do two things:

    1. deal with the spam

    2. tidy up your post

    I think it would be helpful if you saved the error stack as a file to your desktop, then remove anything you don't wish to share... I note you have done this but also note that sometimes usernames and things like that are the cause of a problem in the first place.  You could always replace the characters with similar ones and at least allow to get the full picture.

    I'll replace your error text with a file shortly.

    Paul Filkin | RWS Group

    ________________________
    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

  • Former Member
    0 Former Member in reply to Paul

    There is an issue at hand, or there is not? In addition, are we supposed to upload the xml file and avoid copy and paste? I'll do it next time, though, to tell you the truth, I don't feel motivated to share an error like this one, if this forum gives me a hard time. And there is nothing messy in my post, the only thing messy is this error (due to bad programming, no doubt) is the error message itself. End users should never, ever, receive this type of messages. Please, spare me another scold.

Reply
  • Former Member
    0 Former Member in reply to Paul

    There is an issue at hand, or there is not? In addition, are we supposed to upload the xml file and avoid copy and paste? I'll do it next time, though, to tell you the truth, I don't feel motivated to share an error like this one, if this forum gives me a hard time. And there is nothing messy in my post, the only thing messy is this error (due to bad programming, no doubt) is the error message itself. End users should never, ever, receive this type of messages. Please, spare me another scold.

Children