our blog

The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio

The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 1

“Object reference not set to an instance of an object” is a puzzling and rather unpleasant error in Trados Studio

Object reference not set to an instance of an object is one of the most unpleasant error messages in Trados Studio. It seems to be coming not from Trados Studio itself, but somewhere from .NET. It may appear in other programs, too.

The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 2

Likewise, it has a hundred possible reasons, and that is what makes it so unpleasant. We’ve just discovered one of those: the message appears when you try to open in Trados Studio an SDLXLIFF file containing segments with a pillow.

Pilcrows are not supposed to be inside segments in the first place, only between them—we should give credit to Studio for that. When it is necessary to split a line right inside the segment, one usually inserts a line break with the help of Shift + Enter. However, as practice shows, anything may happen during the import of files created in other programs into Studio.

In this particular case, no countermeasures can remove the error because the pilcrows can’t be removed. Theoretically, editing the source text might help, but it is the last refuge of the enthusiast as it may cause problems during further manipulations with the files. By default, the source text is not to be touched.

And how to get rid of this error under “normal” circumstances we’ll tell you later. There is one universal method...

 

Recommended content

The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 3

How Machine Translation Works

A metaphor for the machine translation process Imagine this: you are sitting in a room. It is sparsely furnished, with nothing but a desk, a chair, and an enormous bookcase. The shelves are packed with books, but every book has exactly the same cover, making them impossible to tell apart. You are good at your […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 4

How to Fix the “Failed to Save Target Content. Cannot Find File Type Definition” Error in Trados Studio

Another Trados Studio error The Failed to save target content error may occur when you try to create a “clean” file—that is, remove the source text from the translated file and leave only the translation using the Clean Up feature. This most commonly happens when a Trados Studio package was created on one computer, but […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 5

The Easiest Way to Identify the Language of a Text

Tips for identifying a text’s language The easiest way to identify the language of a text is to paste it into Google Translate and click Detect language. If Google Translate is unavailable, you can try identifying the language manually by looking for distinctive letters and symbols: You can find more information here.
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 6

How to Fix the “LNG Is Missing” Error in MultiTerm

Troubleshooting a MultiTerm error If the LNG is missing message repeatedly appears when you launch SDL MultiTerm or work with terms—even though the program continues to function normally—there is a 99% chance that Trados Studio and MultiTerm are set to different interface languages on your computer. Set both programs to the same language, and the […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 7

How to Fix the “The Specified Project Name Is Invalid” Error in Trados Studio

Troubleshooting another Trados Studio error When creating a project in Trados Studio, you may see the following message: The specified project name is invalid. The name should not contain any invalid characters such as: \ / : * ? ” < > | If this happens even though the project name does not appear to […]