Object reference not set to an instance or object

Ok, here goes my THIRD attempt to get noticed again. I'm contractually obliged to use a certain server based TB and I haven't been able to do that for 3 weeks now.

I posted this last week, but the post is now GONE?


Let me describe the problem again: Whenever I want to connect to a server based TB or add terms to a local one, I'm getting this message: Object reference not set to an instance or object

The error file reads as follows:

<?xml version="1.0"?>

-<SDLErrorDetails time="02.11.2020 20:25:17">

<ErrorMessage>A connection to SDL MultiTerm Server groupshare.eurocom.at could not be established. Invalid Login Details</ErrorMessage>


-<Exception>

<Type>Sdl.Terminology.TerminologyProvider.Core.Exceptions.ConnectionException, Sdl.Terminology.TerminologyProvider.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>

<HelpLink/>

<Source>Sdl.MultiTerm.Client.TerminologyProvider</Source>

<HResult>-2146233088</HResult>


-<StackTrace>

-<![CDATA[   at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.ServerBasedMultiTermTerminologyProvider.Connect(TerminologyProviderCredential credential, TermbaseSettings settings)
   at Sdl.MultiTerm.Client.Terminology.UI.TermbaseSelectorList.ShowLogInDialog()]]>
</StackTrace>


-<InnerException>

<Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

<HelpLink/>

<Source>Sdl.MultiTerm.Client.TerminologyProvider</Source>

<HResult>-2147467261</HResult>


-<StackTrace>

-<![CDATA[   at Sdl.MultiTerm.Client.TerminologyProvider.Utils.GetMACAddress()
   at Sdl.MultiTerm.Client.TerminologyProvider.Utils.GetClientUniqueId(String userID)
   at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.ServerBasedMultiTermTerminologyProvider.Connect(TerminologyProviderCredential credential, TermbaseSettings settings)]]>
</StackTrace>

</InnerException>

</Exception>


-<Environment>

<ProductName>SDL Trados Studio</ProductName>

<ProductVersion>15.0.0.0</ProductVersion>

<EntryAssemblyFileVersion>15.2.7.2849</EntryAssemblyFileVersion>

<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>

<ServicePack>NULL</ServicePack>

<OperatingSystemLanguage>1033</OperatingSystemLanguage>

<CodePage>1252</CodePage>

<LoggedOnUser>DESKTOP-5605BRU\Dave</LoggedOnUser>

<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>

<ComputerName>DESKTOP-5605BRU</ComputerName>

<ConnectedToNetwork>True</ConnectedToNetwork>

<PhysicalMemory>16691976 MB</PhysicalMemory>

</Environment>

</SDLErrorDetails>

  • Hello ,

    I can see that a support ticket was previously logged for you on a different thread.

    https://community.sdl.com/product-groups/translationproductivity/f/studio/31661/object-reference-not-set-to-an-instance-or-object-with-termbases

    From the information that I can see on the support log, the error was fixed by -

    - uninstalled Multiterm 2019
    - deleted Multiterm folders from the AppData folder (Local and Roaming)
    - downloaded and installed the latest Multiterm version
    - restarted PC


    The problem was then fixed just last week via a remote session.

    I note from the error above, that this appears to be caused by a login error on a remote client server-

    <ErrorMessage>A connection to SDL MultiTerm Server groupshare.eurocom.at could not be established. Invalid Login Details</ErrorMessage>

    Can you please check that the login credentials are correct- and also check with your client that they haven't changed/updated their system (which could cause login issues).

     

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

  • There error was DECLARED solved, but the person only checked whether my Multiterm can connect to an SDL testing server. It was never verified if the error persists when trying to connect through Studio or adding a term to a local TB (my description of the problem). As I have stated many times, the error also occurs when I try to add a term to a LOCAL TB and that can not have anything to do with login credentials. Also, the login credentials are correct and other people have no problem connecting to the same server.

    Here's the error when trying to add a term to a local TB on my own computer:

    <?xml version="1.0"?>

    -<SDLErrorDetails time="03.11.2020 09:20:00">

    <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.AddAndEditTerm(ITerminologyProvider termbase, ITermHit term, String source, String target)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.TermBaseViewPartX.TerminologyProviderViewerAddAndEditTerm(ITerminologyProvider termbase, ITermHit term, String source, String target)
       at Sdl.TranslationStudio.Editor.Terminology.TermbaseViewer.TermBaseViewPartX.AddAndEditTerm(ITerminologyProvider termbase, ITermHit term, String source, String target)
       at Sdl.TranslationStudio.Editor.Terminology.EditorTermbaseUtils.AddTerm(IEditorService editorService, ITranslatableDocument translatableDocument, String sourceText, String targetText)
       at Sdl.TranslationStudio.Editor.Terminology.Actions.AbstractAddNewTermAction.AddTerm()
       at Sdl.TranslationStudio.Editor.Terminology.Actions.QuickAddNewTerm.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.WinForms.IgCommandBarAction.Execute()
       at Sdl.Desktop.Platform.WinForms.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.ToolMenuItem.OnClick()
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.TextUIElementBase.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.PopupControlBase.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>SDL Trados Studio</ProductName>

    <ProductVersion>15.0.0.0</ProductVersion>

    <EntryAssemblyFileVersion>15.2.7.2849</EntryAssemblyFileVersion>

    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>

    <ServicePack>NULL</ServicePack>

    <OperatingSystemLanguage>1033</OperatingSystemLanguage>

    <CodePage>1252</CodePage>

    <LoggedOnUser>DESKTOP-5605BRU\Dave</LoggedOnUser>

    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>

    <ComputerName>DESKTOP-5605BRU</ComputerName>

    <ConnectedToNetwork>True</ConnectedToNetwork>

    <PhysicalMemory>16691976 MB</PhysicalMemory>

    </Environment>

    </SDLErrorDetails>

  • Support Case Id : 00544467. Hello David, I have spoke with the technician that dealt with your case- who will be in contact with you today. Support case has been logged for your assistance. Please check your SDL Community email address for updates.

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

  • Hello ,

    I just wanted to update this thread as I believe the problem is now fixed and this may help others who have a similar issue.

    After recreating the local Termbase (which had become corrupted) this issue was fixed.

    The error trying to access the remote Termbase was due to NordVPN blocking the access.

    Please do let us know, should you come across other issues.

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

  • Hello

    Yes it was fixed, but shortly afterwards it happened again. My suspicion is that something on my computer corrupts the TB.

    I have done what the technician has done and copied the old TB into a new one and now it has been working for a few hours. Fingers crossed...

    Thank you for your help anyway