Rapid Add Term error in SDL Trados Studio 2024 SR1

Hi!

Suddenly in the middle of a project I get the error: Error message window displaying 'Object reference not set to an instance of an object' with details including Type: System.NullReferenceException, Source: Sdl.Community.RapidAddTerm, and HResult: -2147467261..

After adding terms via RAT icon located at Quick Access Toolbar successfully, I received this error and I am unable to use RAT further in this project. In a new project, RAT works perfectly for a while until shows me the same error.

Error file: 

<SDLErrorDetails time="11/21/2025 5:55:57 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>
    <ExceptionMessage>Object reference not set to an instance of an object.</ExceptionMessage>
    <HelpLink />
    <Source>Sdl.Community.RapidAddTerm</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.Community.RapidAddTerm.TermbaseService.IsLanguage(Index index, Language language)
   at Sdl.Community.RapidAddTerm.TermbaseService.<>c__DisplayClass11_0.<GetTermbaseIndex>b__0(Index i)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Sdl.Community.RapidAddTerm.TermbaseService.GetTermbaseIndex(Termbase termbase, List`1 projectTermbaseIndexes, Language currentLanguage)
   at Sdl.Community.RapidAddTerm.TermbaseService.AddNewTerm()
   at Sdl.Community.RapidAddTerm.RapidAddTermRibbonAction.Execute()
   at Sdl.Desktop.IntegrationApi.AbstractAction.Sdl.Desktop.IntegrationApi.Extensions.Internal.IAction.Execute()
   at Sdl.Desktop.IntegrationApi.Internal.Adaptors.InternalActionAdaptor.Execute()
   at Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
   at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
   at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
   at Sdl.Platform.UI.IgCommandBarAction.Execute()
   at Sdl.Platform.UI.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.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
   at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.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>Trados Studio</ProductName>
    <ProductVersion>Studio18</ProductVersion>
    <EntryAssemblyFileVersion>18.1.3.6657</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>XXX</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>XXX</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16207036 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>


Added new evidence.
[edited by: Olav at 4:27 PM (GMT 0) on 21 Nov 2025]
emoji
  • Hi  ,

    Could you confirm what RAT version you're using?

    We recently released a Studio 2024 SR1 CU3 specific build which is this one: v. 4.1.1.0.

    If it's installed correctly, remove it from these locations:

    c:\Users\[USERNAME]\AppData\Roaming\Trados\Trados Studio\18\Plugins\Packages\
    c:\Users\[USERNAME]\AppData\Roaming\Trados\Trados Studio\18\Plugins\Unpacked\

    c:\Users\[USERNAME]\AppData\Local\Trados\Trados Studio\18\Plugins\Packages\
    c:\Users\[USERNAME]\AppData\Local\Trados\Trados Studio\18\Plugins\Unpacked\

    c:\ProgramData\Trados\Trados Studio\18\Plugins\Packages\
    C:\ProgramData\Trados\Trados Studio\18\Plugins\Unpacked\

    And download it again from the integrated appstore inside Studio.

    Also, ensure you have Multiterm installed, as it relies on some components from Multiterm to work correctly.

    Regards,

    Oana

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

    emoji
  • Hi  ,

    I have just updated RAT to v. 4.1.1.0 from the integrated appstore inside Studio after manually checking the integrated appstore inside Studio. Shouldn't I get an automatic notification from Trados if an update is available for app?

    After the update RAT functioned fine for the term in one segment. In the next and in fifth translatable segment, after adding a new term via RAT, termbase viewer do not show just added term when I switch away and back to that segment. After adding a term via RAT in the third segment, termbase viewer shows the newly added term. Why termbase viewer sometimes shows and sometimes do not show newly (via RAT) added term?

    I just experienced this occasional term disappearance in the termbase viewer also when I added term via "Quick Add New Term".

    So I still need to try to remove it from the aforementioned locations and download it again from the integrated appstore inside Studio?

    I have Multiterm installed.

    Regards,

    Olav

    emoji