Login/Register
  • Home
  • Community
  • Knowledge
  • Technical Docs
  • RWS Support Policy
  • Trados Studio Licensing Help
  • Login for Support
Back to Search Results

"Accept/Reject all changes in Document" causes "Object reference not set to an instance of an object." error in Trados Studio

000008681 |4/12/2023 8:44 AM
Scope/Environment
Trados Studio
Symptoms/Context

When trying to either confirm all tracked changes via Review > Track Changes and TQA > Accept all changes in Document
or rejecting all Changes via Review > Track Changes and TQA > Reject all changes in Document
the following error is thrown:

Object reference not set to an instance of an object.

Object reference not set to an instance of an object.

Resolution

Solution:

Remove the offending empty tracked changes from the SDLXLIFF.
  1. Download the texteditor Notepad++ (http://notepad-plus-plus.org/)
  2. Open one of the affected files in Notepad++
  3. Open Find and Replace with [Strg] + [H]
  4. Activate the search mode Regular expression (lower left corner)
  5. In Find what: enter:
    <mrk mtype="x-sdl-(deleted|added)" sdl:revid="\w+-\w+-\w+-\w+-\w+"\s?/>
  6. Keep Replace with: empty
  7. Click on Replace All
  8. Save your changes and use this document for translation instead
To make changes to multiple files all at once, change to the tab Find In Files to specify a folder and if needed a filter.
 
Root Cause
This issue is caused by empty tracked changes. The source of these is yet unknown.

The issue was resolved in Trados Studio 2021 CU4.
Reference
Send Article Feedback
RWS Machine Translation Translation Software Language Services Content Management
All Contents Copyright © RWS.
COPYRIGHT PRIVACY POLICY COOKIE POLICY TERMS AND CONDITIONS