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

 

See more interesting posts in our Telegram channel.

Recommended content

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

Keyboard Shortcuts to Launch Programs in Windows

Many Windows users don’t realize that simple Windows hotkeys can open the apps they need faster than clicking through menus. If you regularly work with office programs such as Word, Excel, or Outlook, mastering Windows keyboard commands can save you tens of minutes every day. Basic keyboard shortcuts to launch programs Windows 10 and Windows […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 4

How to Insert a Tab Character in a Word Table

Most Microsoft Word users know that the Tab key creates an indent in the text. When you place the cursor in a regular paragraph and press Tab, the program inserts a tab character — a hidden formatting mark that helps align text precisely. This basic but powerful Word formatting tool allows you to create structured lists, […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 5

How to Get Rid of the “Attempted to Divide by Zero” Error in MultiTerm

This error appears not only in Trados Studio We wrote about the Attempted to divide by zero error in Trados Studio before, and now it has been caught by MultiTerm, a free app for processing termbases. The error appears right during simple scrolling through term records. What causes this error, typically, is unknown, but it […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 6

How to Translate TXLF Wordfast Files in Trados Studio

Trados Studio can be used to translate .txlf Wordfast files If you do not have or do not like or do not work in Wordfast, you can translate its files in Trados Studio. Trados Studio knows well how to process different file types (Word, Excel, HTML and many, many others). To teach your Trados Studio to work with TXLF Wordfast files means to […]
The Mystery of the “Object Reference Not Set to an Instance of an Object” Error in Trados Studio - 7

How to Identify a Character Code in Word

About the great yet little-known Word command In Word, there is a great yet little-known Alt + X command: it shows the hexadecimal code of the previous character or converts the hexadecimal code of a character to that character.   See more interesting posts in our Telegram channel.