f. in source gives Object reference not set... error!

Over the years I like many people have gotten the little informative "Object reference not set to an instance of an object" error on certain segments.

Today I found out that if the text "f." is found in the source text this error occurs. In Norwegian this is the same as b. (born) in English.

What the f. is happening here? :-)

 Error dialog box in Trados Studio displaying 'Object reference not set to an instance of an object' with type 'System.NullReferenceException' and stack trace information.



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

    As you havent provided the full error stack- then we have no information to go on.

    Please save the error to your desktop and attach to the thread.

    As you have posted a different error, I will go out on a limb and suggest there is an issue with the 2014 installation and this has become corrupted.

    Please repair/reset Studio-

    gateway.sdl.com/.../communityknowledge

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

  • This error has been around for years but I didn't know why so just worked around it. 

    Here's the error file. 

    <SDLErrorDetails time="20.10.2021 17:31:51">
      <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.TranslationStudio.Editor</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.HighlightTMPlaceables(ITranslationResults translationResults)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.TranslationProvider_TranslationFinished(ITranslationRequest request, ITranslationResults results)
       at Sdl.TranslationStudio.Api.Editor.TranslationResultsEventHandler.Invoke(ITranslationRequest request, ITranslationResults results)
       at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationProvider.OnTranslationFinished(ITranslationRequest request, ITranslationResults results)
       at Sdl.TranslationStudio.Editor.TranslationMemory.TranslationProvider.TranslationResultsHandler.TranslationJob_StatusChanged(IJob job)
       at Sdl.Desktop.Platform.Services.JobEventHandler.Invoke(IJob job)
       at Sdl.Desktop.Platform.Implementation.Services.Job.OnStatusChanged()
       at Sdl.Desktop.Platform.Implementation.Services.Job.SetStatus(JobStatus status)
       at Sdl.Desktop.Platform.Implementation.Services.Job._worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
       at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>11.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>11.2.4435.12</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>Glen\Glen</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>GLEN</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12501136 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • I tried the repair / reset option you suggested and it did not fix this problem.

Reply Children
  • Hello ,

    Thanks for the error stack- this does provide useful information.

    It's worth noting the 'Object reference....' error is purely generic and doesn't tell anyone anything apart from there is a problem.

    The problem is apparently stemming from TM that is open in the TM Views (I no longer have 2014 installed, so cannot try and reproduce this).

    If, as I suspect, you are working in the Editor, please ensure you close and remove the TM in the TM maintenance view first.

    Then open the project to work on.

    I would also perhaps suggest, repairing the TM- and even exporting to TMX and then reimporting into a newly created TM to ensure the TM is clean.

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group