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

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 - 4

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 - 5

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 […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 6

Useful Keyboard Shortcuts for Browsers

Handy keyboard shortcuts One sign of a proficient computer user is that they regularly use keyboard shortcuts. If something can be done with either the keyboard or the mouse, they will usually choose the keyboard. Most people primarily use a mouse when browsing the web. However, many browser actions can be performed just as easily—and, […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 7

How to Fix the “Error processing command line arguments” Issue in Trados Studio

About another Trados Studio issue Another Trados Studio quick fix: If you see this error dialog, it’s resolved the same way as the Access to the path … is denied error.