Error message: Object reference not set to an instance of an object

Hi,

I am getting an error message (Object reference not set to an instance of an object) when trying to generate a target translation in Studio 2014. 

I have already tried some of the solutions mentioned in the forum but none worked... 

Any ideas?

Here is what I have tried already…..

If Studio starts, but shows the error message Object reference not set to an instance of an object when you switch between different dialogs and views:

    1. Open Studio.
    2. Activate the view where the error occurs (for example the Editor view).
    3. Click View > Reset Window Layout.
    4. Click OK to confirm resetting the window layout.

      If the error message still appears after following the steps above, follow the instructions under Solution 2 below.

       

      Solution 2

        1. Rename the setting files and run a repair installation

          1. Close all SDL applications.

          2. Go to the following folder: 
            • SDL Trados Studio 2011
              • Windows XPC:\Documents and Settings\[USER_NAME]\Application Data\SDL\SDL Trados Studio\10.0.0.0
              • Windows Vista/7/8C:\Users\[USER_NAME]\AppData\Roaming\SDL\SDL Trados Studio\10.0.0.0
            • SDL Trados Studio 2014
              • Windows XPC:\Documents and Settings\[USER_NAME]\Application Data\SDL\SDL Trados Studio\11.0.0.0
              • Windows Vista/7/8C:\Users\[USER_NAME]\AppData\Roaming\SDL\SDL Trados Studio\11.0.0.0

          3. Rename the following XML files (for example, add an underscore before/after the filename):
            • BaseSettings.xml
            • Plugincache.xml
            • UserSettings.xml

          NOTE: If you do not find this folder, make sure that these files are not hidden. See KB article #3330: Show hidden files and folders on Windows operating systems.

       

      1. Run a repair installation

        1. Open the Control Panel:
          • Windows Vista/7Start > Control Panel > Programs > Programs and Features.
          • Windows 8: Right-click on the screen at bottom-left corner and choose Control Panel > Uninstall a Program.

        2. Click to highlight the damaged SDL Trados Studio version and click Repair.

        3. Restart Studio.

      Parents
      • Former Member
        0 Former Member
        Everything in this thread has nothing to do with this bug. This is a programming error message, intended for programmers, not for users. The developers should take care of it and I believe it is an exercise in futility following instructions like "reset", "reinstall", "reboot". Again, this is a programming error (a bug). Nothing else.
      • Unknown said:
        This is a programming error message, intended for programmers, not for users. The developers should take care of it and I believe it is an exercise in futility following instructions like "reset", "reinstall", "reboot".

         

        I don't agree with you at all... at least not 100%.  Yes, the details in the error stack are intended for developers, but there is often information in the error stack which can be read to see where the likely source of the problem is.  In this case, as I saw a stack for the same problem from another users, the words MyMemory are clearly written throughout the message and this is at least a good indication that the course of action would be to contact the MyMemory team and ask them about the issue.

        In addition to that the error messages do have a link to the a couple of resources that can be searched automatically and sometimes this can also be helpful because the solution you get to can be helpful.

        It's not always like that and sometimes the message have nothing helpful in there at all, sometimes nothing useful for a developer either.  But checking them is not an exercise in futility.

        Certainly I welcome the input from  who seems to be available to help anyone all the time and her experience means her help is almost always on the nail!

        Thank you Ali!

        Paul Filkin | RWS Group

        ________________________
        Design your own training!

        You've done the courses and still need to go a little further, or still not clear? 
        Tell us what you need in our Community Solutions Hub

      Reply
      • Unknown said:
        This is a programming error message, intended for programmers, not for users. The developers should take care of it and I believe it is an exercise in futility following instructions like "reset", "reinstall", "reboot".

         

        I don't agree with you at all... at least not 100%.  Yes, the details in the error stack are intended for developers, but there is often information in the error stack which can be read to see where the likely source of the problem is.  In this case, as I saw a stack for the same problem from another users, the words MyMemory are clearly written throughout the message and this is at least a good indication that the course of action would be to contact the MyMemory team and ask them about the issue.

        In addition to that the error messages do have a link to the a couple of resources that can be searched automatically and sometimes this can also be helpful because the solution you get to can be helpful.

        It's not always like that and sometimes the message have nothing helpful in there at all, sometimes nothing useful for a developer either.  But checking them is not an exercise in futility.

        Certainly I welcome the input from  who seems to be available to help anyone all the time and her experience means her help is almost always on the nail!

        Thank you Ali!

        Paul Filkin | RWS Group

        ________________________
        Design your own training!

        You've done the courses and still need to go a little further, or still not clear? 
        Tell us what you need in our Community Solutions Hub

      Children
      • Former Member
        0 Former Member in reply to Paul
        My contention is twofold: a) a message like “Object reference not set to an instance of an object” is not supposed to show in a commercial software while the end user is using it (I am not referring to anything else), and b) this type of error message is addressed to the developers (read, programmers, coders, testers, etc.) and therefore the end user should not be trying to "fix" it. It is a bug. According to the widely known developer community StackOverflow "this is a very common error and can occur because of all kinds of reasons. The root cause really depends on the specific scenario that you've encountered." stackoverflow.com/.../what-does-object-reference-not-set-to-an-instance-of-an-object-mean
      • Hi again, 

        Unknown said:
        My contention is twofold: a) a message like “Object reference not set to an instance of an object” is not supposed to show in a commercial software while the end user is using it

        Of course it shouldn't, in an ideal world...

        Unknown said:
        b) this type of error message is addressed to the developers (read, programmers, coders, testers, etc.). It is a bug.

        Indeed... well, actually it is indicative of a whole range of possible bugs as StackOverflow say.

        Unknown said:
        According to the widely known developer community StackOverflow "this is a very common error and can occur because of all kinds of reasons. The root cause really depends on the specific scenario that you've encountered." stackoverflow.com/.../what-does-object-reference-not-set-to-an-instance-of-an-object-mean

        and yes again, of course this including all the other points made about this message on StackOverflow's site represent a developer's correct factual analysis of this broadly reaching error message.

        Yes, of course the facts you are presenting are, indeed, facts.

        However, to post in someone else's thread, without kindly offering them a solution, and say "the end user should not be trying to "fix" it" isn't helpful. This view should be expressed in a developers' arena NOT in a thread where someone has asked for help and some of us are trying to use our experience of the software to solve their problem with it.

        The person who posts a thread asking for help is not trying to play at developing, they are trying to work. Their work is as important as anyone else's. It would not help if we replied "Dear User, very sorry but that error is destined to developers only so we can do nothing to help."

        Therefore, we may not be - indeed are not always - addressing the base issue, but those of us who DO want to help can't just do nothing if we might be able to solve the symptom EVEN IF we cannot solve the cause.

        It would be easier for those of us who do want to help to work our way through the various steps towards (even accidentally) solving an issue, without others objecting to our efforts. Sometimes we succeed.

        I respect your viewpoint, Ozzie, and you probably didn't mean your comment to sound critical of me or anyone who tried to help - and it didn't worry me - but I'm just aware that when I was a 'rookie' asking for help, a comment like yours would have put me off asking for help again. 

        Have an excellent, productive week!

        All the very best,

        Ali :D