Error message "Object reference not set to an instance of an object"

Good afternoon,

I'm running a trial version of Trados Studio 2022 SR1 - 17.1.6.16252. (don't want to let go of my 2021 version until I know for sure this new version does better than the old).

Everything was working just fine, until last Friday suddenly the error message "Object reference not set to an instance of an object" appeared each time I created a new project.

Error message in Trados Studio 2022 SR1 stating 'Object reference not set to an instance of an object' with a stack trace reference to TranslationMemoryApi and ProjectApi components.

All goes well, until Studio tries to analyze the files.

I'm not working in the cloud.

I tried upgrading my TM's but that doesn't work. 

Updated my .NET version as suggested in an older post on the community.

Still not able to create a project (incl analysis).

Do you have any other suggestions?



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

    It would help better even if we had the full stacktrace attached:

    Error dialog box with red X icon, message 'An error occurred in the application. Object reference not set to an instance of an object.' with OK button. Arrows pointing to 'Click here' and 'Advanced Editing Options' in Trados Studio interface.

    However, looking at the image, I can still see the error is very likely triggered by the translation memory. I would recommend creating a project from scratch without adding a TM, and without any project template, if you use one and see if you get same error.

    Let me know how it goes, so we explore other options!

    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 12:15 PM (GMT 0) on 29 Feb 2024]
  • <SDLErrorDetails time="14/09/2023 12:11:51 PM">
      <ErrorMessage>Exception of type LanguagePlatformException occurred: Object reference not set to an instance of an object.
    Stacktrace:
       at Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.SearchTranslationUnitsMasked(SearchSettings settings, SubsegmentSearchSettings subsegmentSettings, SubsegmentSearchCondition condition, TranslationUnit[] translationUnits, Boolean[] mask)
       at Sdl.LanguagePlatform.TranslationMemoryApi.Cascade`1.SearchSegmentAndSubSegmentTranslationUnitsMaskedCommand.Execute(T cascadeEntry, SearchSettings searchSettings)
       at Sdl.LanguagePlatform.TranslationMemoryApi.Cascade`1.ExecuteSearchCommand(SearchCommand`1 searchCommand, SearchSettings searchSettings, Int32 searchResultsCount, IEnumerable`1&amp; cascadeMessages)</ErrorMessage>
      <Exception>
        <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=17.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source />
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Business</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2057</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>AzureAD\MelissaGovaert</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-MELISSA</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16655168 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

Reply
  • <SDLErrorDetails time="14/09/2023 12:11:51 PM">
      <ErrorMessage>Exception of type LanguagePlatformException occurred: Object reference not set to an instance of an object.
    Stacktrace:
       at Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.SearchTranslationUnitsMasked(SearchSettings settings, SubsegmentSearchSettings subsegmentSettings, SubsegmentSearchCondition condition, TranslationUnit[] translationUnits, Boolean[] mask)
       at Sdl.LanguagePlatform.TranslationMemoryApi.Cascade`1.SearchSegmentAndSubSegmentTranslationUnitsMaskedCommand.Execute(T cascadeEntry, SearchSettings searchSettings)
       at Sdl.LanguagePlatform.TranslationMemoryApi.Cascade`1.ExecuteSearchCommand(SearchCommand`1 searchCommand, SearchSettings searchSettings, Int32 searchResultsCount, IEnumerable`1&amp; cascadeMessages)</ErrorMessage>
      <Exception>
        <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=17.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source />
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Business</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2057</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>AzureAD\MelissaGovaert</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-MELISSA</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16655168 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

Children
No Data