"Parameter is not valid"

I get the "Parameter is not valid" error message at random moments during translation, and I'm prevented to type. I tried to remove the MultiTerm window I had just added before getting the problem (uninstalling it completely, even though I want to use it obviously), and reset the window layout, then save and close, but the problem always comes back, at the same point or further in the document.
What shall I do?
Trados Studio 2022 - 17.0.4.13209. Here's the complete error code. 

<SDLErrorDetails time="2022-11-30 16:31:55">
<ErrorMessage>Parameter is not valid.</ErrorMessage>
<Exception>
<Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<ParamName />
<HelpLink />
<Source>System.Drawing</Source>
<HResult>-2147024809</HResult>
<StackTrace><![CDATA[ at System.Drawing.Font.GetHeight(Graphics graphics)
at System.Drawing.Font.GetHeight()
at System.Drawing.Font.get_Height()
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AbstractSuggestionWindow.SetLocation()
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Editor_SelectionChange(Object sender, SelectionChangedEventArgs ea)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at AbstractFrameworkEditControl.raise_SelectionChanged(Object value0, SelectionChangedEventArgs value1)
at FrameworkEditControl.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
at FrameworkEditControlEventSource.SelectionChanged(FrameworkEditControlEventSource* )
at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmKeyChar(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>Trados Studio</ProductName>
<ProductVersion>Studio17</ProductVersion>
<EntryAssemblyFileVersion>17.0.0.11594</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Entreprise</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>EFG_CORPORATE\qhomjv</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>LAP5W840R2</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8198616 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>



Moved to code block.
[edited by: Paul at 9:39 AM (GMT 0) on 13 Dec 2022]
emoji
  • Hi  

    According to your post, your Trados Studio version (available at Help > About) is:

    Trados Studio 2022 - 17.0.4.13209. Here's the complete error code. 

    But the version shown in the error details is a pretty old one:

    <EntryAssemblyFileVersion>17.0.0.11594</EntryAssemblyFileVersion>

    Could you please update your Trados Studio and confirm if the error still shows up?

    emoji
  • <SDLErrorDetails time="2022-12-13 14:26:07">
    <ErrorMessage>Parameter is not valid.</ErrorMessage>
    <Exception>
    <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ParamName />
    <HelpLink />
    <Source>System.Drawing</Source>
    <HResult>-2147024809</HResult>
    <StackTrace><![CDATA[ at System.Drawing.Font.GetHeight(Graphics graphics)
    at System.Drawing.Font.GetHeight()
    at System.Drawing.Font.get_Height()
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AbstractSuggestionWindow.SetLocation()
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow..ctor(ISuggestionDataProvider suggestionDataProvider, List`1 suggestionData, Form parentForm, SideBySideEditor editor, SuggestionSite site, Boolean isInternal, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Int32 imeBehavior)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
    at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
    at AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
    at AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
    at FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
    at FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
    at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
    at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
    at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
    at System.Windows.Forms.Control.DefWndProc(Message& m)
    at System.Windows.Forms.Control.WmKeyChar(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>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.0.4.13209</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>EFG_CORPORATE\qhomjv</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>LAP5W840R2</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8198616 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    emoji