Multi Term - Object reference not set to an instance of an object

Screenshot of MultiTerm Desktop 2021 showing an error message 'Object reference not set to an instance of an object' while creating a termbase.

I am trying to create a TM on Multi Term Desktop 2021 but getting the above error. 

I have checked if there's an update, but there aren't any. Repaired programme both for Trados Studio and Multi Term. 

I have restated my laptop but issue continues. 

Can you help, please? 



Generated Image Alt-Text
[edited by: Trados AI at 9:15 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hi  ,

    I am a bit puzzled, if you're kind to clarify what you're trying to do, so I can help further Slight smile

    I am trying to create a TM on Multi Term Desktop 2021 but getting the above error. 

    If you want to create a TM ( Translation Memory) this action is done in Trados Studio, not Multiterm.

    In Studio, a couple of options: 

    1. You can create the memory from within the Translation Memories view, by selecting New>Translation memory:

    Trados Studio screenshot showing the Translation Memories view with the 'New' button highlighted and a dropdown menu with 'New Translation Memory' option selected.

    Next simply follow the steps in the creation wizard screen.

    2. Second option would be to create a memory on the fly, during project creation steps, or within the project settings, if you have a project opened:

    Trados Studio screenshot of Project Settings with 'Create Translation Memory' option highlighted in the dropdown menu under the 'Translation Memory and Automated Translation' section.

    and follow the same steps from the memory creation windows that appears next.

    Does this help you in your actions?

    Regards,

    Oana

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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:16 AM (GMT 0) on 29 Feb 2024]
  • Hello Oana, 

    Thanks for your input. At some point, the error was fixed, and I managed to create a TM using the MultiTerm Desktop; however, when trying to go back to it. I am getting the same error. Plus, I am unable to open the TM on it. I am getting an error, “A connection to MultiTerm Server unknown could not be established. Please check your connection settings”


    Screenshot of Trados MultiTerm with an error message pop-up saying 'A connection to MultiTerm Server unknown could not be established. Please check your connection settings'.

    <SDLErrorDetails time="12/12/2022 14:06:51">
      <ErrorMessage>A connection to MultiTerm Server unknown could not be established.
    
    Please check your connection settings</ErrorMessage>
      <Exception>
        <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.MultiTerm.Client.Connectors</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.MultiTerm.TMO.Interop.TermbaseRepositoryClass.Connect(String UserId, String Password)
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnector.Init()
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnector..ctor()
       at Sdl.MultiTerm.Studio.Editor.TermbaseService.get_Connector()
       at Sdl.MultiTerm.Studio.Editor.Actions.TermbaseOpenAction.Execute(ITermbaseService termbaseService)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>MultiTerm</ProductName>
        <ProductVersion>MultiTerm16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.1.1044</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home Single Language</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2058</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-BJJ8QKB\emman</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-BJJ8QKB</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12005608 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Can you help, please? 



    Generated Image Alt-Text
    [edited by: Trados AI at 9:16 AM (GMT 0) on 29 Feb 2024]
  • Screenshot of Trados Studio software showing an error message 'Object reference not set to an instance of an object.' in a dialog box over the translation workspace.

    <SDLErrorDetails time="12/12/2022 15:59:14">
      <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.MultiTerm.Client.Connectors</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.MultiTerm.TMO.Interop.TermbaseRepositoryClass.Connect(String UserId, String Password)
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnectorEx.Init()
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnectorEx..ctor()
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermTermAccessLoader.Initialize(IProjectTermbase projectTermbase, String sourceLocale, String targetLocale)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermViewerWinFormsUI.CreateTermLoader(ITerminologyProvider terminologyProvider)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermViewerWinFormsUI.GetTermAccessLoader(ITerminologyProvider terminologyProvider)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.MultiTermViewerWinFormsUI.JumpToTerm(ITermHit term)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.TermBaseViewPartX.TerminologyProviderViewerJumpToTerm(ITermHit term)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home Single Language</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2058</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-BJJ8QKB\emman</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-BJJ8QKB</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12005608 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>



    Generated Image Alt-Text
    [edited by: Trados AI at 9:16 AM (GMT 0) on 29 Feb 2024]
  •  Hi  

    First let's clarify once again that what you create in MultiTerm is a termbase (abbreviated TB) and not a TM, which stands for "Translation Memory". It is very important to clearly distinguish these two concepts.

    You say that you managed now to create a termbase but get an error when trying to open it. The error message you show indicates that you are trying to open a server-based TB and that the connection settings for the GroupShare server are incorrect.
    However, I suspect that the termbase you created is a file-based termbase and not a server-based one. 
    This means that you should open it using the "Browse" button instead of the "Login" button and navigate to the folder where you saved the termbase that you just created.


    emoji
  • Hi Walter, 

    Thanks for your input and for clarifying the terms. 

    However, I am still having issues with MultiTerm Desktop app. 

    I keep getting a couple of errors when trying to open it. It does not give me an option to open it any more. 

    I have done the following: 

    1. repaired the programme and restarted. 

    2. removed and reinstalled them. 

    3. Renamed the MultiTerm file and restarted. 

    I was looking into resetting my licence to check if that may help, but there is no option for it. There was an option before, but there isn't one any more. 

    I am at the end of my options, I would need your assistance with it, please. 

    See the attached screenshots and error. 

    Regards, 

    ER Screenshot of Trados Studio Licenses page showing one available SDL Trados Studio 2021 Freelance license with no expiry date.Error message popup from Trados Studio stating 'Unexpected exception when getting view part instance of view part Hitlist' with an 'Accept' button.Error message popup from Trados Studio stating 'Unexpected exception when getting view part instance of view part Hitlist' with 'OK' button and links to 'Knowledge Base' and 'Community'.

    <SDLErrorDetails time="15/12/2022 11:32:03">
      <ErrorMessage>Unexpected exception when getting view part instance of view part Hitlist</ErrorMessage>
      <Exception>
        <Type>Sdl.MultiTerm.Desktop.Platform.StudioException, Sdl.MultiTerm.Desktop.Platform, Version=16.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.MultiTerm.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   at Sdl.MultiTerm.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)
       at Sdl.MultiTerm.Desktop.Platform.AbstractViewWithParts.Control_ShowingViewPart(IViewWithParts view, IViewPartReference viewPartReference)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.DockingViewContentControlEx.OnShowingViewPart(IViewWithParts view, IViewPartReference viewPartReference)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.DockingViewContentControl.OnShowingViewPart(IViewPartReference viewPartReference)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.DockingViewContentControl.EnsureDockedViewPartControl(DockableControlPane pane)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.DockingViewContentControl.Init(IViewWithParts view)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.DockingViewContentControlEx.Init(IViewWithParts view)
       at Sdl.MultiTerm.Desktop.Platform.AbstractDockingView.OnInitControl()
       at Sdl.MultiTerm.Studio.Editor.EditorView.OnInitControl()
       at Sdl.MultiTerm.Desktop.Platform.AbstractViewWithParts.GetContentControl()
       at Sdl.MultiTerm.Desktop.Platform.WinForms.ViewPane.set_ViewReference(IViewReference value)
       at Sdl.MultiTerm.Desktop.Platform.WinForms.StudioWindowForm.UpdateActiveView()
       at Sdl.MultiTerm.Desktop.Platform.WinForms.StudioWindowForm.LoadViews()
       at Sdl.MultiTerm.Desktop.Platform.Implementation.StudioWindow.Init()
       at Sdl.MultiTerm.Desktop.Platform.Implementation.Studio.CreateWindowInternal(Boolean setActive)
       at Sdl.MultiTerm.Desktop.Platform.Implementation.Studio.Run()
       at Sdl.MultiTerm.Desktop.Platform.Implementation.Studio.Run(IProduct product)
       at Sdl.MultiTerm.Studio.Application.Program.Main(String[] args)]]></StackTrace>
        <InnerException>
          <Type>System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
          <HelpLink />
          <Source>mscorlib</Source>
          <HResult>-2146232828</HResult>
          <StackTrace><![CDATA[   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Sdl.Core.PluginFramework.DefaultObjectResolver.CreateObject(Type objectType, XElement attributeElement)
       at Sdl.Core.PluginFramework.Implementation.Extension.CreateInstance()
       at Sdl.MultiTerm.Desktop.Platform.Implementation.ViewPartDescriptor.CreateInstance()
       at Sdl.MultiTerm.Desktop.Platform.Implementation.PluginViewPartReference.get_ViewPart()
       at Sdl.MultiTerm.Desktop.Platform.AbstractViewWithParts.EnsureViewPartSite(IViewPartReference viewPartReference)]]></StackTrace>
          <InnerException>
            <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
            <HelpLink />
            <Source>Sdl.MultiTerm.Client.Connectors</Source>
            <HResult>-2147467261</HResult>
            <StackTrace><![CDATA[   at Sdl.MultiTerm.TMO.Interop.TermbaseRepositoryClass.Connect(String UserId, String Password)
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnector.Init()
       at Sdl.MultiTerm.Core.Common.DataContainers.TermbaseConnector..ctor()
       at Sdl.MultiTerm.Studio.Editor.TermbaseService.get_Connector()
       at Sdl.MultiTerm.Studio.Editor.SettingsService.CreateHitListSettings()
       at Sdl.MultiTerm.Studio.Editor.SettingsService.get_HitListSettings()
       at Sdl.MultiTerm.Studio.Editor.ViewParts.HitlistViewPart..ctor()]]></StackTrace>
          </InnerException>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>MultiTerm</ProductName>
        <ProductVersion>MultiTerm16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.1.1044</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home Single Language</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2058</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-BJJ8QKB\emman</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-BJJ8QKB</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12005608 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>



    Generated Image Alt-Text
    [edited by: Trados AI at 9:16 AM (GMT 0) on 29 Feb 2024]
  •  

    Sorry to insist on clarifications, but there seems to be an additional misunderstanding: MultiTerm Desktop is a separate application, different from Trados Studio and it does not require any license key. Resetting your Studio license will therefore not have any impact on the behavior of MultiTerm Desktop. 

    What do you mean by "Renamed the MultiTerm file and restarted"?

    I suggest you completely uninstall MultiTerm Desktop using this entry:
    Control Panel entry showing MultiTerm 2022 - Remove suite of products by SDL Limited with version 17.0.0.1685 and date 25.05.2022.

    in the Control Panel. 

    Then reboot your computer and reinstall MultiTerm. 

    Alos make sure that the version of MultiTerm you install matches the version of your Studio, otherwise you may face compatibility problems. 

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:16 AM (GMT 0) on 29 Feb 2024]
  • Hi Walter, 

    Thanks for the advice. I can confirm that it's working now. 

    Fingers crossed this is the end of it. 

    Regards, 

    ER 

    emoji
  • Glad to hear it finally worked out!

    If you are happy, may I ask you to verify my "suggested answer". 
    Thanks a lot.
    Walter

    emoji
Reply Children
No Data