“Object reference not set to an instance of an object” when trying to open a file

Hello;
I’m using Trados Studio 2022 Freelance, and I’m unable to open XML Localization Interchange File Format (.xliff) files. These files display the Trados icon, but when I try to open them, I get the following error:
“Object reference not set to an instance of an object.”

The error tree is the following:


This XML file does not appear to have any style information associated with it. The document tree is shown below.
<SDLErrorDetails time="01/11/2025 20:15:45">
<ErrorMessage>Referencia a objeto no establecida como instancia de un objeto.</ErrorMessage>
<Exception>
<Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink/>
<Source>Sdl.ProjectApi.Implementation</Source>
<HResult>-2147467261</HResult>
<StackTrace>
<![CDATA[ en Sdl.ProjectApi.Implementation.Repositories.ProjectRepository.AddFileSettingsToProject(IProject project, ILanguageFile languageFile, Language targetLanguage, IProjectFile targetLanguageFile, LanguageFile xmlLanguageFile) en Sdl.ProjectApi.Implementation.Repositories.ProjectRepository.SplitFileIntoTargetLanguage(IProject project, ILanguageFile languageFile, Language targetLanguage, IProjectFile& targetLanguageFile) en Sdl.ProjectApi.Implementation.Project.SplitIntoTargetLanguage(IProjectFile sourceLanguageFile, Language targetLanguage, IProjectFile& targetLanguageFile) en Sdl.ProjectApi.Implementation.Project.SplitIntoTargetLanguages(IProjectFile[] sourceLanguageFiles, SplitIntoTargetLanguagesProgressHandler progressHandler) en Sdl.ProjectApi.AutomaticTasks.Split.SplitTask.ExecuteInternal() en Sdl.ProjectApi.AutomaticTasks.Split.SplitTask.Execute() en Sdl.ProjectApi.Implementation.AutomaticTaskExecuter.Execute() ]]>
</StackTrace>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio17</ProductVersion>
<EntryAssemblyFileVersion>17.2.12.19268</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>3082</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>DESKTOP-0NLPOHT\Usuario</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>DESKTOP-0NLPOHT</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>8258516 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>
I’ve already tried the following:

All file type filters are active

I updated Trados Studio to the latest version

I uninstalled and reinstalled Trados Studio

I restarted my computer

Could you please help me solve this issue?

Thank you in advance!

Best regards,


Removed AI Suggestion
[edited by: Yanina Burkett Beliz at 11:12 AM (GMT 0) on 2 Nov 2025]
emoji
  • Probability score: 0.8  

    Question improvement suggestion: Provide the exact steps you took to reproduce the issue, including any specific actions leading up to the error message.  

    In the meantime, based on the information you have provided, here is a suggested answer to your question:  

    Hello,  

    It seems you're encountering the "Object reference not set to an instance of an object" error when trying to open .xliff files in Trados Studio 2022 Freelance. This error can occur due to various reasons, including issues with the file itself or the software settings. Here are some steps you can take to troubleshoot and potentially resolve the issue:

    **Step 1:** Check for Invalid XML Characters  

    Open the .xliff file in a text editor and look for any invalid XML characters or non-standard attributes that may not be supported by Trados Studio. If you find any, consider removing them.

    **Step 2:** Reset Trados Studio Settings  

    Sometimes, resetting the application settings can resolve unexpected errors. You can do this by renaming the settings folder. For Trados Studio 2022, navigate to:  

    `C:\Users\[Your_Username]\AppData\Roaming\SDL\SDL Trados Studio\17.0.0.0`  

    Rename the folder to `17.0.0.0_old`. Restart Trados Studio to create a new settings folder.

    **Step 3:** Recreate the Project  

    If the issue persists, try recreating the project using the same source file. This can help if the original project file is corrupted. Follow these steps:  

    1. Go to the Projects view and create a New Local Project.  

    2. Use the same source file as in the original project.  

    3. Add the translation memory used in the original project.  

    4. Click Finish to create the project.  

    **Step 4:** Check for Updates  

    Ensure that you have the latest updates installed for Trados Studio. Go to Help > Check for Updates within the application.

    **Step 5:** Contact the File Creator  

    If you suspect the .xliff file may be the issue, consider reaching out to the person who created the file to ensure it adheres to the correct specifications.

    If you follow these steps and still encounter issues, please provide additional details about the specific actions leading to the error, and I would be happy to assist further.  

    I hope this answer addressed your question. If not, please reject the answer, add the question improvement suggestion information, and click the RWS Community AI checkbox on the right to try again.  

    RWS Community AI

    emoji