Cannot save Alignment due to error "Object reference not set to an instance of an object."

I spent several hours aligning two docx files, but am now unable to import the finished result into my (file-based) TM. I also cannot save it as .sdlalign or .sdlxliff.

Before, when trying to realign, I also received a "some of the alignments are complex" (or similar) error.

All suggested solutions I found in my search so far would include closing Studio, which I cannot do because I would lose all of my work.

Software:
Microsoft Windows 10 Home x64
Trados Studio 2021 SR2 - 16.2.12.9338

Error details:

<SDLErrorDetails time="17.09.2023 09:44:36">

  <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.AlignmentEditor</Source>

    <HResult>-2147467261</HResult>

    <StackTrace><![CDATA[   at Sdl.TranslationStudio.AlignmentEditor.Jobs.RealignJobRequest.ExecuteJob(IJobExecutionContext context)

   at Sdl.TranslationStudio.AlignmentEditor.Jobs.AlignmentJobRequest.Execute(IJobExecutionContext context)]]></StackTrace>

  </Exception>

  <Environment>

    <ProductName>Trados Studio</ProductName>

    <ProductVersion>Studio16</ProductVersion>

    <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>

    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>

    <ServicePack>NULL</ServicePack>

    <OperatingSystemLanguage>1031</OperatingSystemLanguage>

    <CodePage>1252</CodePage>

    <LoggedOnUser>LAPTOP-J4O4RV1D\brink</LoggedOnUser>

    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>

    <ComputerName>LAPTOP-J4O4RV1D</ComputerName>

    <ConnectedToNetwork>True</ConnectedToNetwork>

    <PhysicalMemory>8302500 MB</PhysicalMemory>

  </Environment>

</SDLErrorDetails>

Any help? TIA!

emoji
Parents
  • Hello,

    I'm sorry to hear that you're experiencing issues with Trados Studio. Based on the error message you're receiving, it seems like there might be a problem with the alignment of your files. Here are some steps you can try to resolve this issue:

    Step 1: Try to save your work in a different format. Instead of .sdlalign or .sdlxliff, try saving it as a .tmx file. This might allow you to save your work without encountering the error.

    Step 2: If you're still unable to save your work, you might want to try manually checking the alignment of your files. Scroll through your document and look for any areas where the source and target text don't match up. This could be causing the error.

    Step 3: If you find any misaligned segments, try to correct them manually. Once you've done this, try to save your work again.

    Step 4: If you're still encountering the error, it might be worth trying to recreate the alignment in a new project. This can sometimes resolve issues caused by corrupted files or errors in the original alignment.

    Please note that these are just suggestions and might not resolve your issue. If you're still having trouble, it might be worth reaching out to a professional for further assistance.

    I hope this helps and you're able to resolve your issue soon!

    Best regards,

    RWS Community AI

    emoji
  • I'm sorry to hear that the previous steps didn't resolve your issue. Let's try a different approach:

    Step 1: Open the problematic .sdlxliff file in Trados Studio. If you get a message that says "Dependency file not found", click "Yes" and follow the instructions in the Knowledge Base article.

    Step 2: If the above step doesn't work, try to recreate the .sdlxliff file and use the Perfect Match or Pre-translate tasks to re-translate the file. Here's how:

    a. Open the original source file in Trados Studio (use the same segmentation rules that you used in your project/corrupt .sdlxliff)

    b. Use Batch Tasks > Apply Perfect Match and point to the corrupt sdlxliff file. The statuses of the segments will show as PM.

    c. If step b doesn't work, start over and use your Translation Memory (TM) to pre-translate the original source file. If the TM is not available, create a new, empty TM, import the corrupt .sdlxliff into it, and use that to pre-translate.

    I hope these steps help you resolve the issue. If you're still having trouble, it might be best to consult with a Trados Studio expert or a professional in the field.

    Best regards,

    RWS Community AI

    emoji
Reply
  • I'm sorry to hear that the previous steps didn't resolve your issue. Let's try a different approach:

    Step 1: Open the problematic .sdlxliff file in Trados Studio. If you get a message that says "Dependency file not found", click "Yes" and follow the instructions in the Knowledge Base article.

    Step 2: If the above step doesn't work, try to recreate the .sdlxliff file and use the Perfect Match or Pre-translate tasks to re-translate the file. Here's how:

    a. Open the original source file in Trados Studio (use the same segmentation rules that you used in your project/corrupt .sdlxliff)

    b. Use Batch Tasks > Apply Perfect Match and point to the corrupt sdlxliff file. The statuses of the segments will show as PM.

    c. If step b doesn't work, start over and use your Translation Memory (TM) to pre-translate the original source file. If the TM is not available, create a new, empty TM, import the corrupt .sdlxliff into it, and use that to pre-translate.

    I hope these steps help you resolve the issue. If you're still having trouble, it might be best to consult with a Trados Studio expert or a professional in the field.

    Best regards,

    RWS Community AI

    emoji
Children