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

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

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

How to use the ampersand and how is it different from and

A little bit on how & is different from and The ampersand is a ligature that the Latin conjunction et, which means and, has been transformed into. Once upon a time, the ampersand was even considered the 27th letter of the alphabet. When pronouncing letters in the alphabet, it was ended with the words and […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 6

How to split a large Trados Studio file into multiple parts

About splitting a large file into multiple parts How to split a large Trados Studio file into several parts: ➕ The plugin is free, simple, and effective. Trados Studio is not needed at all. ➖ It is better to use it only for splits, there are problems with merges. * * * ➕ Always works […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 7

T9N, L10N, I18N, G11N, C13N, M17N, V8N

Some slang abbreviations from the localization field Let’s check some slang abbreviations from the localization field. All of them are based on the principle of “taking the first and last letters of a word, cutting out the middle, and writing the number of the cut out letters instead.” These terms are vague, and their meanings […]