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>

Reply
  • 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>

Children